From: Anthony Geay Date: Fri, 2 Sep 2022 09:49:27 +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=d92b7fd59b881b5e276b1c71584a5879dbd01384;p=tools%2Fmedcoupling.git Keep track of datetime of configuration --- diff --git a/src/PyWrapping/CMakeLists.txt b/src/PyWrapping/CMakeLists.txt index 2543ae374..1b7be0a88 100644 --- a/src/PyWrapping/CMakeLists.txt +++ b/src/PyWrapping/CMakeLists.txt @@ -21,7 +21,7 @@ FIND_PACKAGE(SWIG REQUIRED) INCLUDE(${SWIG_USE_FILE}) -ADD_DEFINITIONS(${PYTHON_DEFINITIONS} ${NUMPY_DEFINITIONS} ${SCIPY_DEFINITIONS} -DMEDCOUPLING_GIT_SHA1=\"${MEDCOUPLING_GIT_SHA1}\") +ADD_DEFINITIONS(${PYTHON_DEFINITIONS} ${NUMPY_DEFINITIONS} ${SCIPY_DEFINITIONS} -DMEDCOUPLING_GIT_SHA1=\"${MEDCOUPLING_GIT_SHA1}\" -DMEDCOUPLING_CONFIG_DT=\"${MEDCOUPLING_CONFIG_TIME}\") SET_SOURCE_FILES_PROPERTIES(medcoupling.i PROPERTIES CPLUSPLUS ON) IF(WIN32) diff --git a/src/PyWrapping/medcoupling.i b/src/PyWrapping/medcoupling.i index 150bbbc88..6a2a3d26d 100644 --- a/src/PyWrapping/medcoupling.i +++ b/src/PyWrapping/medcoupling.i @@ -49,6 +49,7 @@ #endif %constant const char __version__[]=MEDCOUPLING_GIT_SHA1; +%constant const char __config_datetime__[]=MEDCOUPLING_CONFIG_DT; %{ static const char SEQ_INTERPOL_EXT[]="Sequential interpolator";