summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-13 19:49:15 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-13 19:49:15 (GMT)
commit041d4688ec7db86168a5e6de497e1354698083aa (patch)
treef8332abf6e403a94bfd6881e5254b90d02f1c236 /Source/CMakeLists.txt
parent4214dd3c2a70e89cda87c1424c80e054d823f7f7 (diff)
downloadCMake-041d4688ec7db86168a5e6de497e1354698083aa.zip
CMake-041d4688ec7db86168a5e6de497e1354698083aa.tar.gz
CMake-041d4688ec7db86168a5e6de497e1354698083aa.tar.bz2
ENH: add bundle test
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index b7265ed..fd2791f 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -792,6 +792,16 @@ IF(BUILD_TESTING)
ENDIF(${CMAKE_GENERATOR} MATCHES "Visual Studio")
IF (APPLE AND CMAKE_COMPILER_IS_GNUCXX)
+ ADD_TEST(BundleTest ${CMAKE_CTEST_COMMAND}
+ --build-and-test
+ "${CMake_SOURCE_DIR}/Tests/BundleTest"
+ "${CMake_BINARY_DIR}/Tests/BundleTest"
+ --build-two-config
+ --build-generator ${CMAKE_GENERATOR}
+ --build-makeprogram ${MAKEPROGRAM}
+ --build-project BundleTest
+ --test-command BundleTest.app/Contents/MacOS/BundleTest)
+
ADD_TEST(objc++ ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/Objc++"
@@ -890,7 +900,7 @@ IF(BUILD_TESTING)
ENDIF(JNI_H)
ENDIF(JAVA_COMPILE AND JAVA_RUNTIME AND JAVA_ARCHIVE)
ENDIF(CMAKE_GENERATOR MATCHES "Makefiles")
-
+
IF (CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE OR WXWINDOWS_INCLUDE_DIR)
# Will be set if the wxwindows gui is on
ADD_TEST(UseWX ${CMAKE_CTEST_COMMAND}