[CMake] RUN_TESTS does not rebuild targets?

2017-08-18 Thread Robert Dailey
Why does the RUN_TESTS target in Visual Studio IDE not first build the unit tests before running them? If my tests are out of date, I expect the executables to be built first and then CTest to be invoked. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: ht

[CMake] install DESTINATION parameter - why can't be empty? Workarounds don't work.

2017-08-18 Thread drgutek
Hi, In general, relative parameters of type PATH, like "lib" or "source/include" are resolved to an absolute path using current value of variables, like for instance: ${CMAKE_INSTALL_PREFIX} in case of command INSTALL(). This, however, does not work if I would like to use empty relative path (