From: Tim Kientzle Date: Sat, 7 Nov 2009 23:08:41 +0000 (-0500) Subject: CDash support, thanks to Brad King. X-Git-Tag: v2.8.0~229 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=787a5ff7ac7e35d241020db1515b492180fad8e9;p=thirdparty%2Flibarchive.git CDash support, thanks to Brad King. SVN-Revision: 1586 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index fed6ac402..c8823ef94 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 000000000..7a09742db --- /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)