summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestRunScript/test.cmake.in
blob: 4afcdd9d2911708e7c91a096511ea567c93a4ccd (plain)
1
2
3
4
5
6
7
CMAKE_MINIMUM_REQUIRED(VERSION 2.1)
GET_FILENAME_COMPONENT(CTEST_COMMAND "${CMAKE_COMMAND}" PATH)
SET(CTEST_COMMAND "${CTEST_COMMAND}/ctest")
SET(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestRunScript")
SET(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestRunScript")

CTEST_RUN_SCRIPT("${CTEST_BINARY_DIRECTORY}/hello.cmake")