From 8346e82cf5e12900eff612da9ca1dd17bff8f379 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 29 Sep 2008 11:00:42 +0000 Subject: [PATCH] From Mathieu Marache, support for CDash --- CMakeLists.txt | 6 ------ CTestConfig.cmake | 13 +++++++++++++ 2 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 CTestConfig.cmake 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)