summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTest/CMakeLists.txt
blob: 70e368a286a2676cb6f231f440f98331ecf6fc1f (plain)
1
2
3
4
5
6
7
8
9
10
11
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)