diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-02-19 15:32:17 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-02-19 15:32:17 (GMT) |
commit | b092ffae6f6c732965e19fc260aed5fdbbd2615c (patch) | |
tree | 12c5f2f7867611de4cf54f186325a072669c7dc9 /Source | |
parent | f1cffef26592e0b9a4c7017ffab5f41f9f4dbe0a (diff) | |
download | CMake-b092ffae6f6c732965e19fc260aed5fdbbd2615c.zip CMake-b092ffae6f6c732965e19fc260aed5fdbbd2615c.tar.gz CMake-b092ffae6f6c732965e19fc260aed5fdbbd2615c.tar.bz2 |
ENH: Cleanup
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CMakeLists.txt | 13 |
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} |