diff --git a/CMakeLists.txt b/CMakeLists.txt index 50757d7f1..1e6af6b6f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -708,12 +708,6 @@ IF(BUILD_DASHBOARD_REPORTS) # The following are required to uses Dart and the Cdash dashboard # viewable here : http://www.cdash.org/CDashPublic/index.php?project=OpenSceneGraph INCLUDE(Dart) - set(CTEST_PROJECT_NAME "OpenSceneGraph") - set(CTEST_NIGHTLY_START_TIME "00:00:00 CET") - set(CTEST_DROP_METHOD "http") - set(CTEST_DROP_SITE "www.cdash.org") - set(CTEST_DROP_LOCATION "/CDashPublic/submit.php?project=OpenSceneGraph") - set(CTEST_DROP_SITE_CDASH TRUE) ENDIF(BUILD_DASHBOARD_REPORTS) # This needs to be run very last so other parts of the scripts can take diff --git a/CTestConfig.cmake b/CTestConfig.cmake new file mode 100644 index 000000000..b3d99c9b6 --- /dev/null +++ b/CTestConfig.cmake @@ -0,0 +1,13 @@ +## 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(Dart) +set(CTEST_PROJECT_NAME "OpenSceneGraph") +set(CTEST_NIGHTLY_START_TIME "00:00:00 CET") + +set(CTEST_DROP_METHOD "http") +set(CTEST_DROP_SITE "www.cdash.org") +set(CTEST_DROP_LOCATION "/CDashPublic/submit.php?project=OpenSceneGraph") +set(CTEST_DROP_SITE_CDASH TRUE)