MEDCOUPLING_SWIG_DOCSTRING_CONFIGURE(doxygen_documentation swig_ready MEDCoupling)
MEDCOUPLING_SWIG_DOCSTRING_CONFIGURE(doxygen_documentation swig_ready MEDLoader)
- SET(doxyfile_med_dev ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
- FILE(STRINGS ${doxyfile_med_dev} enabled_sections REGEX "ENABLED_SECTIONS")
+ SET(doxyfile_path ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
+ FILE(STRINGS ${doxyfile_path} enabled_sections REGEX "ENABLED_SECTIONS")
IF(enabled_sections)
- FILE(READ ${doxyfile_med_dev} doxy_file)
- STRING(REPLACE ${enabled_sections} "${enabled_sections} ENABLE_EXAMPLES" new_doxy_file ${doxy_file})
- FILE(WRITE ${doxyfile_med_dev} ${new_doxy_file})
+ FILE(READ ${doxyfile_path} doxyfile_content)
+ STRING(REPLACE ${enabled_sections} "${enabled_sections} ENABLE_EXAMPLES" new_doxyfile ${doxyfile_content})
+ FILE(WRITE ${doxyfile_path} ${new_doxyfile})
ELSE()
- FILE(APPEND ${doxyfile_med_dev}
+ FILE(APPEND ${doxyfile_path}
"#Temporary variable to enable python documentation sections\nENABLED_SECTIONS = ENABLE_EXAMPLES")
ENDIF()