CMake/Tests/CTestTest2/CMakeLists.txt

13 lines
329 B
CMake
Raw Normal View History

2005-05-05 18:19:09 +04:00
PROJECT(CTestTest2)
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(${CTestTest2_SOURCE_DIR}/test.cmake.in
${CTestTest2_BINARY_DIR}/test.cmake @ONLY)