Permalink
Browse files

Add BUILD_TESTING option allowing to submit configure and build to CDash

The option is automatically added by including the CTest module.
  • Loading branch information...
1 parent 6c8957e commit 4ee6f7b882839e3377777c26ec363a57e7f2f75a @jcfr jcfr committed Apr 12, 2013
Showing with 8 additions and 0 deletions.
  1. +1 −0 CMakeLists.txt
  2. +7 −0 CTestConfig.cmake
View
@@ -25,6 +25,7 @@ include(cmake/Assembler.cmake)
include(cmake/Extensions.cmake)
include(CMakeDependentOption)
include(CMakeParseArguments)
+include(CTest)
# Options
option(BUILD_SHARED "Build a shared libpython library" OFF)
View
@@ -0,0 +1,7 @@
+set(CTEST_PROJECT_NAME "Python27")
+set(CTEST_NIGHTLY_START_TIME "3:00:00 UTC")
+
+set(CTEST_DROP_METHOD "http")
+set(CTEST_DROP_SITE "open.cdash.org")
+set(CTEST_DROP_LOCATION "/submit.php?project=CPython")
+set(CTEST_DROP_SITE_CDASH TRUE)

0 comments on commit 4ee6f7b

Please sign in to comment.