Skip to content

Commit

Permalink
Fypp Doxygen fix #342 (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryleberre authored Mar 1, 2024
1 parent 0bc6ee3 commit 928c5af
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,12 @@ if (MFC_DOCUMENTATION)

macro(GEN_DOCS target name)
set(DOXYGEN_PROJECT_NAME "\"${name}\"")
set(DOXYGEN_INPUT "\"${CMAKE_CURRENT_SOURCE_DIR}/src/${target}\"\
\"${CMAKE_CURRENT_SOURCE_DIR}/docs/${target}\"")
set(DOXYGEN_INPUT "\"${CMAKE_CURRENT_SOURCE_DIR}/docs/${target}\"")

foreach (f90 ${${target}_SRCs})
set(DOXYGEN_INPUT "${DOXYGEN_INPUT} \"${f90}\"")
endforeach()

set(DOXYGEN_HTML_HEADER "\"${CMAKE_CURRENT_SOURCE_DIR}/docs/header.html\"")
set(DOXYGEN_HTML_FOOTER "\"${CMAKE_CURRENT_SOURCE_DIR}/docs/footer.html\"")
set(DOXYGEN_HTML_OUTPUT "\"${CMAKE_CURRENT_BINARY_DIR}/${target}\"")
Expand Down

0 comments on commit 928c5af

Please sign in to comment.