summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-01-15 22:31:22 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-01-15 22:31:22 (GMT)
commitc6d2312619f008a691d9a313988b15c02e4f94cd (patch)
tree3dfde773b647d2739f97f0217dd1a40225f1c0ff /Source/CMakeLists.txt
parent17d8775e82aafe373f25b6d6ce9a568ab78816f2 (diff)
downloadCMake-c6d2312619f008a691d9a313988b15c02e4f94cd.zip
CMake-c6d2312619f008a691d9a313988b15c02e4f94cd.tar.gz
CMake-c6d2312619f008a691d9a313988b15c02e4f94cd.tar.bz2
ENH: add testing for modules and one two config modes for cmaketest
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 19a3a6b..830c087 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -156,12 +156,23 @@ IF(BUILD_TESTING)
${CMake_BINARY_DIR}/Tests/LoadCommand
LoadedCommand)
+ ADD_TEST(LoadedCommandOneConfig ${CMake_BINARY_DIR}/Source/cmaketest
+ ${CMake_SOURCE_DIR}/Tests/LoadCommand
+ ${CMake_BINARY_DIR}/Tests/LoadCommandOneConfig
+ LoadedCommand ONLY_ONE_CONFIG)
+
ADD_TEST(complex ${CMake_BINARY_DIR}/Source/cmaketest
${CMake_SOURCE_DIR}/Tests/Complex
${CMake_BINARY_DIR}/Tests/Complex
complex
${CMake_BINARY_DIR}/Tests/Complex/bin)
+ ADD_TEST(complexOneConfig ${CMake_BINARY_DIR}/Source/cmaketest
+ ${CMake_SOURCE_DIR}/Tests/Complex
+ ${CMake_BINARY_DIR}/Tests/ComplexOneConfig
+ complex
+ ${CMake_BINARY_DIR}/Tests/ComplexOneConfig/bin ONLY_ONE_CONFIG)
+
ADD_TEST(Example ${CMake_BINARY_DIR}/Source/cmaketest
${CMake_SOURCE_DIR}/Example
${CMake_BINARY_DIR}/Example