summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-19 15:32:17 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-19 15:32:17 (GMT)
commitb092ffae6f6c732965e19fc260aed5fdbbd2615c (patch)
tree12c5f2f7867611de4cf54f186325a072669c7dc9 /Source
parentf1cffef26592e0b9a4c7017ffab5f41f9f4dbe0a (diff)
downloadCMake-b092ffae6f6c732965e19fc260aed5fdbbd2615c.zip
CMake-b092ffae6f6c732965e19fc260aed5fdbbd2615c.tar.gz
CMake-b092ffae6f6c732965e19fc260aed5fdbbd2615c.tar.bz2
ENH: Cleanup
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index f7d7595..0be9771 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -562,6 +562,19 @@ IF(BUILD_TESTING)
)
ENDIF (APPLE)
+ IF (UNIX)
+ CONFIGURE_FILE(
+ "${CMake_SOURCE_DIR}/Tests/CTestTest/ctest.cmake.in"
+ "${CMake_BINARY_DIR}/Tests/CTestTest/ctest.cmake"
+ @ONLY
+ )
+ ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND}
+ -S "${CMake_BINARY_DIR}/Tests/CTestTest/ctest.cmake" -V
+ )
+
+ ENDIF (UNIX)
+
+
IF (CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE OR WXWINDOWS_INCLUDE_DIR)
# Will be set if the wxwindows gui is on
ADD_TEST(UseWX ${CMAKE_CTEST_COMMAND}