+# SWIG must run after the doc if we want to have the docstrings extracted from Doxygen
+# into the Python module:
+IF(SALOME_BUILD_DOC)
+ LIST(APPEND SWIG_MODULE_MEDLoader_EXTRA_FLAGS -DWITH_DOCSTRINGS)
+ LIST(APPEND SWIG_MODULE_MEDLoader_EXTRA_DEPS
+ ${PROJECT_BINARY_DIR}/doc/MEDLoader_doc.i
+ swig_ready)
+ENDIF()
+