From 61a10fb265b0b6e0d1071a84823579184cc73467 Mon Sep 17 00:00:00 2001 From: Gbkng Date: Thu, 11 Apr 2024 15:11:25 +0200 Subject: [PATCH] feat!: rename target "dev_docs" into "doxygen_documentation" and remove it from the ALL target --- doc/developer/doxygen/CMakeLists.txt | 10 +++++----- doc/tutorial/CMakeLists.txt | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/developer/doxygen/CMakeLists.txt b/doc/developer/doxygen/CMakeLists.txt index 8b41385f2..47142f4ae 100644 --- a/doc/developer/doxygen/CMakeLists.txt +++ b/doc/developer/doxygen/CMakeLists.txt @@ -31,7 +31,7 @@ configure_file(static/header.html.in static/header.html @ONLY) IF(NOT MEDCOUPLING_ENABLE_PYTHON) - ADD_CUSTOM_TARGET(doxygen + ADD_CUSTOM_TARGET(doxygen_documentation COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile VERBATIM WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} @@ -72,7 +72,7 @@ ELSE() # gets updated if its content has changed. # <<<<<<<<<<<<<<<< - ADD_CUSTOM_TARGET(dev_docs ALL + ADD_CUSTOM_TARGET(doxygen_documentation COMMAND ${PYTHON_EXECUTABLE} ${pythondocexamplesgenerator} ${input} ${output} COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile VERBATIM @@ -81,10 +81,10 @@ ELSE() # Create dummy target gathering the generation of all .i files: ADD_CUSTOM_TARGET(swig_ready) - ADD_DEPENDENCIES(swig_ready dev_docs) + ADD_DEPENDENCIES(swig_ready doxygen_documentation) - MEDCOUPLING_SWIG_DOCSTRING_CONFIGURE(dev_docs swig_ready MEDCoupling) - MEDCOUPLING_SWIG_DOCSTRING_CONFIGURE(dev_docs swig_ready MEDLoader) + MEDCOUPLING_SWIG_DOCSTRING_CONFIGURE(doxygen_documentation swig_ready MEDCoupling) + MEDCOUPLING_SWIG_DOCSTRING_CONFIGURE(doxygen_documentation swig_ready MEDLoader) SET(doxyfile_path ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) FILE(STRINGS ${doxyfile_path} enabled_sections REGEX "ENABLED_SECTIONS") diff --git a/doc/tutorial/CMakeLists.txt b/doc/tutorial/CMakeLists.txt index cb3e0572a..00ff074c7 100644 --- a/doc/tutorial/CMakeLists.txt +++ b/doc/tutorial/CMakeLists.txt @@ -23,7 +23,7 @@ SET(_cmd_options -c ${CMAKE_CURRENT_BINARY_DIR} -b html -d doctrees -D latex_pap SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cmd_options}") ADD_CUSTOM_TARGET(tutorial_doc COMMAND ${_cmd}) -ADD_DEPENDENCIES(dev_docs tutorial_doc) +ADD_DEPENDENCIES(doxygen_documentation tutorial_doc) #INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target tutorial_doc)") INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${MEDCOUPLING_INSTALL_DOC}/tutorial) -- 2.39.2