]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Keep track of datetime of configuration
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 2 Sep 2022 09:49:27 +0000 (11:49 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 2 Sep 2022 09:49:27 +0000 (11:49 +0200)
src/PyWrapping/CMakeLists.txt
src/PyWrapping/medcoupling.i

index 2543ae374b6d923fe4b1f18a09c786fcccadf512..1b7be0a88c09ca17629d3a2fa69bda7a09328b50 100644 (file)
@@ -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)
index 150bbbc8811fc96a3ee000ccd6b34ab61465f3dc..6a2a3d26db415ad1bb3e73d9c862d2a6e5ade967 100644 (file)
@@ -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";