diff options
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 4346752..213c631 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -545,6 +545,19 @@ IF(BUILD_TESTING) --build-two-config --test-command simple) + ADD_TEST(SimpleExclude ${CMAKE_CTEST_COMMAND} + --build-and-test + "${CMake_SOURCE_DIR}/Tests/SimpleExclude" + "${CMake_BINARY_DIR}/Tests/SimpleExclude" + --build-generator ${CMAKE_TEST_GENERATOR} + --build-project SimpleExclude + --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM} + --build-two-config + --test-command "${CMAKE_COMMAND}" + "-DCONFIGURATION=\${CTEST_CONFIGURATION_TYPE}" + -P "${CMAKE_BINARY_DIR}/Tests/SimpleExclude/run.cmake" + ) + # ADD_TEST(SameName ${CMAKE_CTEST_COMMAND} # --build-and-test # "${CMake_SOURCE_DIR}/Tests/SameName" |