Commit b65d8fc8 authored by Ben Boeckel's avatar Ben Boeckel

cdash: set CDash URL based on whether CMB is enabled

parent 7374e89e
......@@ -109,6 +109,14 @@ function (superbuild_add_packaging)
endforeach ()
endfunction ()
macro (superbuild_setup_tests)
if (cmb_enabled)
set(CTEST_DROP_LOCATION "/submit.php?project=CMB")
else (smtk_enabled)
set(CTEST_DROP_LOCATION "/submit.php?project=SMTK")
endif ()
endmacro ()
function (superbuild_add_tests)
set_property(GLOBAL APPEND
PROPERTY
......
......@@ -9,5 +9,4 @@ set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
set(CTEST_DROP_METHOD "https")
set(CTEST_DROP_SITE "open.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=CMB")
set(CTEST_DROP_SITE_CDASH TRUE)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment