summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-02-19 19:48:04 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-02-19 19:48:04 (GMT)
commit245e7c3482005798a81e1bc6641aaad4ca0a5b71 (patch)
treea5b6b0b98a700f7d638623a543b5f65ffe28f9ac /Source
parent84315a7d576830ad93188750ca56bb171947f2f8 (diff)
downloadCMake-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.txt3
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