]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
CDash support, thanks to Brad King.
authorTim Kientzle <kientzle@gmail.com>
Sat, 7 Nov 2009 23:08:41 +0000 (18:08 -0500)
committerTim Kientzle <kientzle@gmail.com>
Sat, 7 Nov 2009 23:08:41 +0000 (18:08 -0500)
SVN-Revision: 1586

CMakeLists.txt
CTestConfig.cmake [new file with mode: 0644]

index fed6ac40228001239b44108d6d6478b2077b1989..c8823ef94fbb98ba8c78729fd73339e50c5baf32 100644 (file)
@@ -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 (file)
index 0000000..7a09742
--- /dev/null
@@ -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)