Christophe Riccio 14 年 前
コミット
7e275a6511
2 ファイル変更16 行追加0 行削除
  1. 3 0
      CMakeLists.txt
  2. 13 0
      CTestConfig.cmake

+ 3 - 0
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(".")

+ 13 - 0
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)