diff options
Diffstat (limited to 'Tests/CTestTest2/CMakeLists.txt')
-rw-r--r-- | Tests/CTestTest2/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/CTestTest2/CMakeLists.txt b/Tests/CTestTest2/CMakeLists.txt new file mode 100644 index 0000000..7678748 --- /dev/null +++ b/Tests/CTestTest2/CMakeLists.txt @@ -0,0 +1,12 @@ +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) |