commit 1f63d5cee8b9394149ad9ec88000069040adbc54 parent 24019705f1b4ab2eb2230311877777337a503152 Author: fundamental <mark.d.mccurry@gmail.com> Date: Mon, 22 Aug 2011 12:25:16 -0400 CMake: Adding extra build checks Diffstat:
M | CMakeLists.txt | | | 1 | + |
A | CTestConfig.cmake | | | 13 | +++++++++++++ |
M | src/CMakeLists.txt | | | 2 | ++ |
3 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -3,6 +3,7 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/") project(zynaddsubfx) enable_testing() +include(CTestConfig.cmake) #Currently the only directory that uses cmake add_subdirectory(src) diff --git a/CTestConfig.cmake 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 "ZynAddSubFX") +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=ZynAddSubFX") +set(CTEST_DROP_SITE_CDASH TRUE) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt @@ -300,3 +300,5 @@ endif() install(TARGETS zynaddsubfx RUNTIME DESTINATION bin ) + +include(CTest)