summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTest2/CMakeLists.txt
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-05 14:19:09 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-05-05 14:19:09 (GMT)
commit3254c25e4ffea315d97b2d6d1f8d62f62c5f7627 (patch)
treeabc1c68271ff16bd679c1c87a0ccecda873de537 /Tests/CTestTest2/CMakeLists.txt
parentb74da8d3aaf931b335b6ddf4eb11b892f8e719c5 (diff)
downloadCMake-3254c25e4ffea315d97b2d6d1f8d62f62c5f7627.zip
CMake-3254c25e4ffea315d97b2d6d1f8d62f62c5f7627.tar.gz
CMake-3254c25e4ffea315d97b2d6d1f8d62f62c5f7627.tar.bz2
ENH: Add new style ctest project
Diffstat (limited to 'Tests/CTestTest2/CMakeLists.txt')
-rw-r--r--Tests/CTestTest2/CMakeLists.txt12
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)