]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
feat!: rename target "dev_docs" into "doxygen_documentation" and remove it from the... fix-txx-doxygen-documentation 7/head
authorGbkng <guillaume.brooking@gmail.com>
Thu, 11 Apr 2024 13:11:25 +0000 (15:11 +0200)
committerGbkng <guillaume.brooking@gmail.com>
Tue, 23 Apr 2024 09:22:06 +0000 (11:22 +0200)
doc/developer/doxygen/CMakeLists.txt
doc/tutorial/CMakeLists.txt

index 8b41385f209ce7b0ba4bf069d4baab0d86f49fb0..47142f4ae8039727d69a6be101646b47db6c51f0 100644 (file)
@@ -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")
index cb3e0572a43fc9daa7f4cfb0db3d41048a943143..00ff074c74ca86417a49ae0fc026e8dc64a7687d 100644 (file)
@@ -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)