summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-05-08 14:58:35 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-05-08 14:58:35 (GMT)
commitb39d96dff85d9fe8b236f9519f5d7d9b8c9f2880 (patch)
tree3703589a3ae6dbe20e586d761e62ddec2492b2e6 /Source/CMakeLists.txt
parent9323a2798973b3dbe8ca9725f1cb5c8ff6d5900b (diff)
downloadCMake-b39d96dff85d9fe8b236f9519f5d7d9b8c9f2880.zip
CMake-b39d96dff85d9fe8b236f9519f5d7d9b8c9f2880.tar.gz
CMake-b39d96dff85d9fe8b236f9519f5d7d9b8c9f2880.tar.bz2
ENH: add a very simple framework test
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index be55bb2..720963c 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -1107,6 +1107,15 @@ IF(BUILD_TESTING)
--build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
--test-command VSExternalInclude)
ENDIF(${CMAKE_TEST_GENERATOR} MATCHES "Visual Studio")
+ ADD_TEST(FrameworkTest ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/Framework"
+ "${CMake_BINARY_DIR}/Tests/Framework"
+ --build-two-config
+ --build-generator ${CMAKE_TEST_GENERATOR}
+ --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM}
+ --build-project Framework
+ --test-command bar)
IF (APPLE AND CMAKE_COMPILER_IS_GNUCXX)
SET(BundleTestInstallDir