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}
# 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
# 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")
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)