CTestConfig.cmake 794 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
## # The following are required to uses Dart and the Cdash dashboard
##   ENABLE_TESTING()
##   INCLUDE(CTest)
set(CTEST_PROJECT_NAME "camitkopensource")
set(CTEST_NIGHTLY_START_TIME "23:00:00 UTC")

10 11
set(CTEST_DROP_METHOD "https")
set(CTEST_DROP_SITE "cdash-timc.imag.fr")
12 13
set(CTEST_DROP_LOCATION "/submit.php?project=camitk-opensource")
set(CTEST_DROP_SITE_CDASH TRUE)
14 15 16 17 18

## Disable CA certificates verification, until the drop site got a certificate.
if (CTEST_DROP_METHOD STREQUAL "https")
    set(CTEST_CURL_OPTIONS
        "CURLOPT_SSL_VERIFYPEER_OFF"
19
#         "CURLOPT_SSL_VERIFYHOST_OFF"
20 21
    )
endif()