From 98853739875f9643b8d3a908ee643ba892b91e69 Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Tue, 17 Sep 2024 22:32:34 -0500 Subject: [PATCH 1/2] build: add CDash configuration --- CTestConfig.cmake | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 CTestConfig.cmake diff --git a/CTestConfig.cmake b/CTestConfig.cmake new file mode 100644 index 000000000..6250c28f4 --- /dev/null +++ b/CTestConfig.cmake @@ -0,0 +1,7 @@ +set(CTEST_PROJECT_NAME "HERMES") +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=HERMES") +set(CTEST_DROP_SITE_CDASH TRUE) From e6aa40742b61baaf0a50dc7e5693619066307563 Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Wed, 18 Sep 2024 13:01:31 -0500 Subject: [PATCH 2/2] build: add CTest for CDash reporting --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d67a9980..ca38d640b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.10) project(hermes) - +include(CTest) #----------------------------------------------------------------------------- # Define Constants #----------------------------------------------------------------------------- @@ -325,4 +325,4 @@ install( ${CMAKE_INSTALL_PREFIX}/cmake ) -install(DIRECTORY include DESTINATION ${CMAKE_INSTALL_PREFIX}) \ No newline at end of file +install(DIRECTORY include DESTINATION ${CMAKE_INSTALL_PREFIX})