From 7e275a65110a01e875404c8bb205819ab8c7c3b2 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Fri, 3 Jun 2011 08:53:38 +0100 Subject: [PATCH] Added CDash --- CMakeLists.txt | 3 +++ CTestConfig.cmake | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 CTestConfig.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 4115667c..3679967b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,9 @@ if(CMAKE_COMPILER_IS_GNUCXX) #add_definitions(-mfpmath=387) #add_definitions(-ffast-math) #add_definitions(-O3) + + #add_definitions(-fprofile-arcs -ftest-coverage) gcov + #ctest_enable_coverage() endif() include_directories(".") diff --git a/CTestConfig.cmake b/CTestConfig.cmake new file mode 100644 index 00000000..d3388358 --- /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(CTest) +set(CTEST_PROJECT_NAME "GLM") +set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") + +set(CTEST_DROP_METHOD "http") +set(CTEST_DROP_SITE "my.cdash.org") +set(CTEST_DROP_LOCATION "/submit.php?project=GLM") +set(CTEST_DROP_SITE_CDASH TRUE)