IF(MEDCOUPLING_ENABLE_PYTHON)
INCLUDE(doxy2swig/doxy2swig.cmake)
-
- # :TRICKY: For ease of maintenance, documentation for code examples is
- # splitted in several files. We here splice to a single file before running
- # Doxygen.
+ # >>>>>>>>>>>>>>>>
+ # For ease of maintenance, documentation for code examples is splitted in
+ # several files. We here splice to a single file before running Doxygen.
SET(EXAMPLE_FILES # files to concatenate: order is important!
doxfiles/examples/medcouplingexamplesheader.doxy
ENDFOREACH()
# Note: The reason for writing to a temporary is so the real target file only
# gets updated if its content has changed.
+ # <<<<<<<<<<<<<<<<
- # Here is the "standard" procedure, as if ${input} was hand-written.
ADD_CUSTOM_TARGET(dev_docs ALL
COMMAND ${PYTHON_EXECUTABLE} ${pythondocexamplesgenerator} ${input} ${output}
COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
)
ENDIF()
-#INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target dev_docs)")
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc_ref_dev/html/ DESTINATION ${MEDCOUPLING_INSTALL_DOC}/developer)
-#INSTALL(FILES images/head.png DESTINATION ${MEDCOUPLING_INSTALL_DOC}/developer)
SET(MAKE_CLEAN_FILES doc_ref_dev tmp)
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${MAKE_CLEAN_FILES}")
ADD_MULTI_LANG_DOCUMENTATION(TARGET_NAME usr_doc MODULE html)
ENDIF()
-#ADD_DEPENDENCIES(usr_doc dev_docs)
-
INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target usr_doc)")
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION ${MEDCOUPLING_INSTALL_DOC}/user)
IF(MEDCOUPLING_BUILD_FRENCH_DOC)