diff --git a/CMakeLists.txt b/CMakeLists.txt index d0055b8a3bcf317a80d8f4c73f7343bb522d71bf..ab3c4935aa0999a60890c41d49319638ee432e03 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,11 @@ cmake_minimum_required(VERSION 3.2) project(iMSTK VERSION 0.0.1 LANGUAGES C CXX) +#----------------------------------------------------------------------------- +# CTest/Dashboards +#----------------------------------------------------------------------------- +include(CTest) + #----------------------------------------------------------------------------- # Update CMake module path & cmake dir #----------------------------------------------------------------------------- diff --git a/CTestConfig.cmake b/CTestConfig.cmake new file mode 100644 index 0000000000000000000000000000000000000000..61a2d4a5aa4a89d36195efcf7e0a824e0d803f0c --- /dev/null +++ b/CTestConfig.cmake @@ -0,0 +1,14 @@ +## 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 submit to the CDash dashboard: +## ENABLE_TESTING() +## INCLUDE(CTest) + +set(CTEST_PROJECT_NAME "iMSTK") +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=iMSTK") +set(CTEST_DROP_SITE_CDASH TRUE)