]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
Keep track of datetime of configuration
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 2 Sep 2022 09:39:03 +0000 (11:39 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 2 Sep 2022 09:39:03 +0000 (11:39 +0200)
cmake/SalomeMacros.cmake

index 3c1a9ff5729a2d4b40e421c3a707adcb0661e098..131820414a5e460aad31cb6760c17d8964a547e1 100644 (file)
@@ -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()