diff options
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 735feb6..a41add3 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -991,6 +991,18 @@ IF(BUILD_TESTING) ) ENDIF(NOT CMAKE_TEST_DIFFERENT_GENERATOR) + ADD_TEST(SubDirSpaces ${CMAKE_CTEST_COMMAND} + --build-and-test + "${CMake_SOURCE_DIR}/Tests/SubDirSpaces" + "${CMake_BINARY_DIR}/Tests/SubDirSpaces" + --build-exe-dir "${CMake_BINARY_DIR}/Tests/SubDirSpaces/Executable" + --build-generator ${CMAKE_TEST_GENERATOR} + --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM} + --build-project SUBDIR + --test-command test + "${CMake_BINARY_DIR}/Tests/SubDirSpaces/ShouldBeHere" + "${CMake_BINARY_DIR}/Tests/SubDirSpaces/testfromsubdir.obj" + ) IF (WIN32) ADD_TEST(SubDir ${CMAKE_CTEST_COMMAND} |