Skip to content

Commit

Permalink
Fix doxygen folder path
Browse files Browse the repository at this point in the history
(cherry picked from commit 15c5150)
  • Loading branch information
jslee02 committed Jun 26, 2024
1 parent 41b4fbe commit 78be0a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -660,18 +660,17 @@ if(DOXYGEN_FOUND)
COMMAND find "${DOXYGEN_OUTPUT_ROOT}" -type f -name "*.html"
-exec sed -i 's: doxygen=\"[^\"]*\"::g' {} \\$<SEMICOLON>
COMMAND ${CMAKE_COMMAND} -E echo "Done."
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/doxygen
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/docs/doxygen
DEPENDS ${DOXYGEN_DOXYFILE}
)
# add_custom_target(docs ALL DEPENDS ${DOXYGEN_HTML_INDEX})
add_custom_target(docs DEPENDS ${DOXYGEN_HTML_INDEX})
add_custom_target(
docs_forced
COMMAND ${CMAKE_COMMAND} -E echo_append "Building API Documentation..."
COMMAND ${DOXYGEN_EXECUTABLE} -u ${DOXYGEN_DOXYFILE}
COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_DOXYFILE}
COMMAND ${CMAKE_COMMAND} -E echo "Done."
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/doxygen
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/docs/doxygen
)

# Add the "view_docs" target that opens the generated API documentation.
Expand Down

0 comments on commit 78be0a1

Please sign in to comment.