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)