From a8a7bf5c1852110d457d015f5cf3f89d18aa89f9 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Tue, 28 Oct 2008 13:49:12 +0800
Subject: [PATCH] TEST: configuration file for cdash

---
 CTestConfig.cmake | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/CTestConfig.cmake b/CTestConfig.cmake
index e804438c20..1e5a65fe36 100644
--- a/CTestConfig.cmake
+++ b/CTestConfig.cmake
@@ -1,12 +1,13 @@
-SET(CTEST_PROJECT_NAME "OTB")
-SET(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
+## 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 "OTB")
+set(CTEST_NIGHTLY_START_TIME "20:00:00 CEST")
 
-IF(NOT DEFINED CTEST_DROP_METHOD)
-  SET(CTEST_DROP_METHOD "http")
-ENDIF(NOT DEFINED CTEST_DROP_METHOD)
-
-IF(CTEST_DROP_METHOD STREQUAL "http")
-  SET(CTEST_DROP_SITE "www.orfeo-toolbox.org")
-  SET(CTEST_DROP_LOCATION "/Dashboard/submit.php?project=OTB")
-  SET(CTEST_TRIGGER_SITE "")
-ENDIF(CTEST_DROP_METHOD STREQUAL "http")
+set(CTEST_DROP_METHOD "http")
+set(CTEST_DROP_SITE "www.orfeo-toolbox.org")
+set(CTEST_DROP_LOCATION "/Dashboard/submit.php?project=OTB")
+set(CTEST_DROP_SITE_CDASH TRUE)
-- 
GitLab