diff options
Diffstat (limited to 'Tests/CTestTestRunScript/test.cmake.in')
-rw-r--r-- | Tests/CTestTestRunScript/test.cmake.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CTestTestRunScript/test.cmake.in b/Tests/CTestTestRunScript/test.cmake.in new file mode 100644 index 0000000..4afcdd9 --- /dev/null +++ b/Tests/CTestTestRunScript/test.cmake.in @@ -0,0 +1,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") |