17d7081e85
allow overriding CTestConfig.cmake values for using local site CDash service or for using personnal (user space) CDash service. The expected order of precedence is respected: the personnal settings will override the site settings, and the site settings will override the default settings for the foam-extend CDash service hosted on SourceForge.net.
27 lines
1.1 KiB
CMake
27 lines
1.1 KiB
CMake
## 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 submit to the CDash dashboard:
|
|
## ENABLE_TESTING()
|
|
## INCLUDE(CTest)
|
|
|
|
# These settings will allow you to publish your dashboards results
|
|
# on the foam-extend CDash service hosted on SourceForge.Net
|
|
# See here: http://foam-extend.sourceforge.net/CDash/index.php
|
|
#
|
|
set(CTEST_PROJECT_NAME "foam-extend-3.2")
|
|
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
|
|
|
|
set(CTEST_DROP_METHOD "http")
|
|
set(CTEST_DROP_SITE "foam-extend.sourceforge.net")
|
|
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=foam-extend-3.2")
|
|
set(CTEST_DROP_SITE_CDASH TRUE)
|
|
|
|
# We can override those variables for local sites so you can use
|
|
# your own site CDash service
|
|
include($ENV{FOAM_SITE_DIR}/etc/CTestConfig.cmake OPTIONAL)
|
|
|
|
# We can override those variables from user space so you can use
|
|
# your own personal CDash service
|
|
include($ENV{WM_PROJECT_USER_DIR}/etc/CTestConfig.cmake OPTIONAL)
|