diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-03-09 21:28:44 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-03-09 21:28:44 (GMT) |
commit | ddb815c12542f80f42562877298a73fab39bb4ca (patch) | |
tree | 825a90988e4710274a656b8f9bf7f32b7d0827fa /Source/CMakeLists.txt | |
parent | bf699505bc7fc378abf07ec4dfa0f0cc4fb89686 (diff) | |
download | CMake-ddb815c12542f80f42562877298a73fab39bb4ca.zip CMake-ddb815c12542f80f42562877298a73fab39bb4ca.tar.gz CMake-ddb815c12542f80f42562877298a73fab39bb4ca.tar.bz2 |
ENH: add new subdirectory exclude from top option
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 86e8627..bff099f 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -550,6 +550,17 @@ IF(BUILD_TESTING) --test-command test1 ) + ADD_TEST(SubDir ${CMAKE_CTEST_COMMAND} + --build-and-test + "${CMake_SOURCE_DIR}/Tests/SubDir" + "${CMake_BINARY_DIR}/Tests/SubDir" + --build-exe-dir "${CMake_BINARY_DIR}/Tests/SubDir/Executable" + --build-generator ${CMAKE_GENERATOR} + --build-makeprogram ${MAKEPROGRAM} + --build-project SUBDIR + --test-command test "${CMake_BINARY_DIR}/Tests/SubDir/ShouldBeHere" + ) + IF (APPLE) ADD_TEST(objc++ ${CMAKE_CTEST_COMMAND} --build-and-test |