summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-02-19 18:20:27 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-02-19 18:20:27 (GMT)
commit09699018ccccf654ce6ca4d0b84e3e2a973f5c22 (patch)
tree8ce7ba16e859b5f7c5340bbff22ea852618f7ead /Source/CMakeLists.txt
parent314f5f60a08cc2366a18126fdc69aa367a01b046 (diff)
downloadCMake-09699018ccccf654ce6ca4d0b84e3e2a973f5c22.zip
CMake-09699018ccccf654ce6ca4d0b84e3e2a973f5c22.tar.gz
CMake-09699018ccccf654ce6ca4d0b84e3e2a973f5c22.tar.bz2
ENH: turn on spaces in path test
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt12
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}