From: Anthony Geay Date: Fri, 2 Sep 2022 09:39:03 +0000 (+0200) Subject: Keep track of datetime of configuration X-Git-Tag: V9_10_0a1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5e41aabfe9dca7585004aeb773eaf7c4b9385235;p=tools%2Fconfiguration.git Keep track of datetime of configuration --- diff --git a/cmake/SalomeMacros.cmake b/cmake/SalomeMacros.cmake index 3c1a9ff..1318204 100644 --- a/cmake/SalomeMacros.cmake +++ b/cmake/SalomeMacros.cmake @@ -1220,4 +1220,7 @@ FUNCTION(SALOME_SETUP_VERSION version) ELSE(_) SET(${_pkg_uc}_GIT_SHA1 "unknown" PARENT_SCOPE) ENDIF() + string(TIMESTAMP ${_pkg_uc}_TMP_CONFIG_TIME "%Y/%m/%d %H:%M:%S") + set(${_pkg_uc}_CONFIG_TIME ${${_pkg_uc}_TMP_CONFIG_TIME} PARENT_SCOPE) + unset(${_pkg_uc}_TMP_CONFIG_TIME) ENDFUNCTION()