From 9decd097f3fc8eab4af724b10f4e133004bcf69b Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Mon, 13 Jun 2011 14:02:01 +0200
Subject: [PATCH] ENH: add CTestConfig to allow compilation with ctest script

---
 CTestConfig.cmake | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 CTestConfig.cmake

diff --git a/CTestConfig.cmake b/CTestConfig.cmake
new file mode 100644
index 0000000000..bda0241035
--- /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 "OTB-Wrapper")
+set(CTEST_NIGHTLY_START_TIME "20:00:00 CEST")
+
+set(CTEST_DROP_METHOD "http")
+set(CTEST_DROP_SITE "dash.orfeo-toolbox.org")
+set(CTEST_DROP_LOCATION "/submit.php?project=OTB-Wrapper")
+set(CTEST_DROP_SITE_CDASH TRUE)
-- 
GitLab