ENH: Cleanup

This commit is contained in:
Andy Cedilnik 2004-02-19 10:32:17 -05:00
parent f1cffef265
commit b092ffae6f
2 changed files with 20 additions and 7 deletions

View File

@ -94,10 +94,10 @@ MARK_AS_ADVANCED(CURL_TESTING)
SET(EXECUTABLE_OUTPUT_PATH ${CMake_BINARY_DIR}/bin CACHE INTERNAL SET(EXECUTABLE_OUTPUT_PATH ${CMake_BINARY_DIR}/bin CACHE INTERNAL
"Where to put the executables for CMake" "Where to put the executables for CMake"
) )
SET(LIBRARY_OUTPUT_PATH "" CACHE INTERNAL SET(LIBRARY_OUTPUT_PATH "" CACHE INTERNAL
"Where to put the libraries for CMake" "Where to put the libraries for CMake"
) )
INCLUDE_REGULAR_EXPRESSION("^(\\.\\./)?(cm|CMake|form|ctest).*") INCLUDE_REGULAR_EXPRESSION("^(\\.\\./)?(cm|CMake|form|ctest).*")

View File

@ -562,6 +562,19 @@ IF(BUILD_TESTING)
) )
ENDIF (APPLE) 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) IF (CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE OR WXWINDOWS_INCLUDE_DIR)
# Will be set if the wxwindows gui is on # Will be set if the wxwindows gui is on
ADD_TEST(UseWX ${CMAKE_CTEST_COMMAND} ADD_TEST(UseWX ${CMAKE_CTEST_COMMAND}