CTestConfig.cmake 908 Bytes
Newer Older
Jacob Becker's avatar
Jacob Becker committed
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 "SuperBuild-ConceptualModelBuilder")
set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT")

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
set(drop_sites kitware)

set(CTEST_DROP_METHOD_kitware "http")
set(CTEST_DROP_SITE_kitware "www.kitware.com/CDash")
set(CTEST_DROP_LOCATION_kitware "/submit.php?project=SMTK")
set(CTEST_DROP_SITE_CDASH_kitware TRUE)

if (NOT DEFINED SMTK_PUBLIC_DROP_SITE OR SMTK_PUBLIC_DROP_SITE)

  list(APPEND drop_sites open)

  set(CTEST_DROP_METHOD_open "http")
  set(CTEST_DROP_SITE_open "open.cdash.org")
  set(CTEST_DROP_LOCATION_open "/submit.php?project=SMTK")
  set(CTEST_DROP_SITE_CDASH_open TRUE)

endif ()