[CMake] CTest location of executables on Windows

Clifford Yapp cliffyapp at gmail.com
Sun Dec 14 14:45:44 EST 2014


That got it - thank you!

For future reference, anyone wanting to run ctest from a CMake target
in msvc needs to have the -C $<CONFIG> option specified:

add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIG> -E
check-tests)

CY


More information about the CMake mailing list