diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-02-19 19:48:04 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-02-19 19:48:04 (GMT) |
commit | 245e7c3482005798a81e1bc6641aaad4ca0a5b71 (patch) | |
tree | a5b6b0b98a700f7d638623a543b5f65ffe28f9ac /Source | |
parent | 84315a7d576830ad93188750ca56bb171947f2f8 (diff) | |
download | CMake-245e7c3482005798a81e1bc6641aaad4ca0a5b71.zip CMake-245e7c3482005798a81e1bc6641aaad4ca0a5b71.tar.gz CMake-245e7c3482005798a81e1bc6641aaad4ca0a5b71.tar.bz2 |
ENH: make the test really test targets with spaces
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index a754b0e..354c126 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -1001,11 +1001,12 @@ 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-exe-dir "${CMake_BINARY_DIR}/Tests/SubDirSpaces/Executable Sources" --build-generator ${CMAKE_TEST_GENERATOR} --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM} --build-project SUBDIR |