CMake/Tests/CTestTest/CMakeLists.txt

12 lines
325 B
CMake
Raw Normal View History

2004-05-11 02:06:11 +04:00
PROJECT(CTestTest)
SET(DART_ROOT "" CACHE STRING "" FORCE)
ENABLE_TESTING()
INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)
GET_FILENAME_COMPONENT(CTEST_COMMAND "${CMAKE_COMMAND}" PATH)
SET(CTEST_COMMAND "${CTEST_COMMAND}/ctest")
CONFIGURE_FILE(${CTestTest_SOURCE_DIR}/test.cmake.in
${CTestTest_BINARY_DIR}/test.cmake @ONLY)