summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2009-11-07 18:08:41 -0500
committerTim Kientzle <kientzle@gmail.com>2009-11-07 18:08:41 -0500
commit787a5ff7ac7e35d241020db1515b492180fad8e9 (patch)
treeda8a1b2a908fca6c853d09d13ed985bb61010f7d
parent56965e7a9b1d8b0d70e55d952bd16172e7738746 (diff)
downloadlibarchive-787a5ff7ac7e35d241020db1515b492180fad8e9.tar.gz
CDash support, thanks to Brad King.
SVN-Revision: 1586
-rw-r--r--CMakeLists.txt3
-rw-r--r--CTestConfig.cmake11
2 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fed6ac40..c8823ef9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,6 +28,9 @@ SET(LIBARCHIVE_VERSION_STRING "${VERSION}")
# Shared library number
SET(SOVERSION 8)
+# Enable CTest/CDash support
+include(CTest)
+
OPTION(ENABLE_TAR "Enable tar building" ON)
OPTION(ENABLE_TAR_SHARED "Enable dynamic build of tar" OFF)
OPTION(ENABLE_CPIO "Enable cpio building" ON)
diff --git a/CTestConfig.cmake b/CTestConfig.cmake
new file mode 100644
index 00000000..7a09742d
--- /dev/null
+++ b/CTestConfig.cmake
@@ -0,0 +1,11 @@
+# TODO: This file should be moved into the build/cmake directory...
+
+# The libarchive CDash page appears at
+# http://my.cdash.org/index.php?project=libarchive
+set(CTEST_PROJECT_NAME "libarchive")
+set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
+
+set(CTEST_DROP_METHOD "http")
+set(CTEST_DROP_SITE "my.cdash.org")
+set(CTEST_DROP_LOCATION "/submit.php?project=libarchive")
+set(CTEST_DROP_SITE_CDASH TRUE)