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