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