From 787a5ff7ac7e35d241020db1515b492180fad8e9 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 7 Nov 2009 18:08:41 -0500 Subject: [PATCH] CDash support, thanks to Brad King. SVN-Revision: 1586 --- CMakeLists.txt | 3 +++ CTestConfig.cmake | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 CTestConfig.cmake 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)