X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CTestConfig.cmake;h=15bbadd615cfa17269b85c13408d813e1e3237dc;hb=2b4ec898fdd6dc8ea5780c0e30c7124272a4202e;hp=c93aa62acfb944b829c9978826f637723c33699f;hpb=7861c7dc29ff0f8cdfd7a929034eb63cc29d6703;p=clitk.git diff --git a/CTestConfig.cmake b/CTestConfig.cmake index c93aa62..15bbadd 100644 --- a/CTestConfig.cmake +++ b/CTestConfig.cmake @@ -1,11 +1,12 @@ -# Set them in a dart file when using ctest to submit on an other dashboard +MACRO(SET_IF_NOT_SET var val) + IF(NOT DEFINED "${var}") + SET("${var}" "${val}") + ENDIF(NOT DEFINED "${var}") +ENDMACRO(SET_IF_NOT_SET) + # Those are set for running a classical make Experimental SET_IF_NOT_SET(CTEST_DROP_METHOD "http") SET_IF_NOT_SET(CTEST_DROP_SITE "my.cdash.org") SET_IF_NOT_SET(CTEST_DROP_LOCATION "/submit.php?project=VV") SET_IF_NOT_SET(CTEST_DROP_SITE_CDASH TRUE) SET_IF_NOT_SET(CTEST_PROJECT_NAME "vv_itk4") -SET_IF_NOT_SET(CTEST_NIGHTLY_START_TIME "1:00:00 UTC") - -#========================================================= -SET(CLITK_TEST_DATA_PATH ${PROJECT_BINARY_DIR}/tests/data/ CACHE INTERNAL DOCSTRING) \ No newline at end of file