From: Gbkng Date: Thu, 11 Apr 2024 13:12:50 +0000 (+0200) Subject: refactor: rename some minor internal variables with a clearer name X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=64259a11a026c9ff5fa6d5b8fa2d407a0cfdd0b6;p=tools%2Fmedcoupling.git refactor: rename some minor internal variables with a clearer name --- diff --git a/doc/developer/doxygen/CMakeLists.txt b/doc/developer/doxygen/CMakeLists.txt index a48da8d27..47142f4ae 100644 --- a/doc/developer/doxygen/CMakeLists.txt +++ b/doc/developer/doxygen/CMakeLists.txt @@ -86,14 +86,14 @@ ELSE() 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()