From: maier Date: Sun, 3 Nov 2013 12:07:03 +0000 (+0000) Subject: run_testsuite.cmake: Provide a possibility to append a string to CTEST_BUILD_NAME X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e0c47defbd675a49ec27f4647bfea532441b740;p=dealii-svn.git run_testsuite.cmake: Provide a possibility to append a string to CTEST_BUILD_NAME git-svn-id: https://svn.dealii.org/trunk@31530 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/scripts/run_testsuite.cmake b/deal.II/cmake/scripts/run_testsuite.cmake index 2ef8566bfe..f8b2d09d41 100644 --- a/deal.II/cmake/scripts/run_testsuite.cmake +++ b/deal.II/cmake/scripts/run_testsuite.cmake @@ -77,6 +77,9 @@ # # cmake -C ${CONFIG_FILE}). This only has an effect if # CTEST_BINARY_DIRECTORY is empty. # +# DESCRIPTION +# - A string that is appended to CTEST_BUILD_NAME +# # COVERAGE # - If set to TRUE deal.II will be configured with # DEAL_II_SETUP_COVERAGE=TRUE, CMAKE_BUILD_TYPE=Debug and the @@ -421,6 +424,14 @@ IF(NOT "${CONFIG_FILE}" STREQUAL "") SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${_conf}") ENDIF() +# +# Append DESCRIPTION string to CTEST_BUILD_NAME: +# + +IF(NOT "${DESCRIPTION}" STREQUAL "") + SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${DESCRIPTION}") +ENDIF() + MESSAGE("-- CTEST_BUILD_NAME: ${CTEST_BUILD_NAME}") #