Skip to content

Commit

Permalink
doxygen: only 1 call
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Jul 27, 2024
1 parent 629ca62 commit 255f11e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions doxygen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ macro(_SETUP_PROJECT_DOCUMENTATION)
# FIXME: it is impossible to trigger documentation installation at
# install, so put the target in ALL instead.
add_custom_target(
${PROJECT_NAME}-doc
${PROJECT_NAME}-doc ALL
COMMAND ${DOXYGEN_EXECUTABLE} ${JRL_CMAKEMODULE_DOXYFILE_PATH}
WORKING_DIRECTORY doc
COMMENT "Generating Doxygen documentation")
Expand Down Expand Up @@ -572,13 +572,6 @@ macro(_SETUP_PROJECT_DOCUMENTATION)
"${PROJECT_JRL_CMAKE_MODULE_DIR}/doxygen/doxygen.css")
endif(DOXYGEN_USE_TEMPLATE_CSS)

add_custom_command(
OUTPUT ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}.doxytag
${PROJECT_BINARY_DIR}/doc/doxygen-html
COMMAND ${DOXYGEN_EXECUTABLE} ${JRL_CMAKEMODULE_DOXYFILE_PATH}
WORKING_DIRECTORY doc
COMMENT "Generating Doxygen documentation")

# Clean generated files.
set_property(
DIRECTORY
Expand Down

0 comments on commit 255f11e

Please sign in to comment.