git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30873
0785d39b-7218-0410-832d-
ea1e28bc413d
# CTEST_BUILD_NAME:
#
-SET(CTEST_BUILD_NAME
- "${CMAKE_SYSTEM_PROCESSOR}-${CMAKE_SYSTEM_NAME}"
- )
-
-#
# Append compiler information to CTEST_BUILD_NAME:
-#
-
IF(NOT EXISTS ${CTEST_BINARY_DIRECTORY}/detailed.log)
# Apparently, ${CTEST_BINARY_DIRECTORY} is not a configured build
# directory. In this case we need a trick: set up a dummy project and
SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${_branch}-r${_svn_WC_REVISION}")
ENDIF()
+#
+# Append config file name to CTEST_BUILD_NAME:
+#
+
+IF(NOT "${CONFIG_FILE}" STREQUAL "")
+ GET_FILENAME_COMPONENT(_conf ${CONFIG_FILE} NAME_WE)
+ SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${conf}")
+ENDIF()
+
MESSAGE("-- CTEST_BUILD_NAME: ${CTEST_BUILD_NAME}")
#
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams