summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTest2/CMakeLists.txt
blob: ec793c41868a1120c7acab6cd744adb0e0bd1690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
cmake_minimum_required (VERSION 2.6)
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)