Skip to content
Snippets Groups Projects
Commit 526ef2e7 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: prepare an archive of the generated doxygen, don't build it by default

parent 7d5c832c
No related branches found
No related tags found
No related merge requests found
......@@ -146,9 +146,11 @@ if (BUILD_DOCUMENTATION)
# DEPENDS "${OTB_SOURCE_DIR}/Examples" "${OTB_SOURCE_DIR}/Utilities/Doxygen/GenerateExamplesDox.cmake"
# )
add_custom_target(Documentation ALL
add_custom_target(Documentation
COMMAND ${DOXYGEN_EXECUTABLE} ${OTB_BINARY_DIR}/Utilities/Doxygen/doxygen.config
MAIN_DEPENDENCY ${OTB_BINARY_DIR}/Utilities/Doxygen/doxygen.config
COMMAND ${CMAKE_COMMAND} -E tar cjf
${OTB_BINARY_DIR}/Documentation/Doxygen/OTB-Doxygen-${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}.tar.bz2
${OTB_BINARY_DIR}/Documentation/Doxygen/html
DEPENDS ${OTB_BINARY_DIR}/Utilities/Doxygen/otbdoxygen.pl
# DEPENDS ${OTB_BINARY_DIR}/Documentation/Doxygen/Examples.dox
WORKING_DIRECTORY ${OTB_BINARY_DIR}/Utilities/Doxygen
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment