Skip to content

Commit

Permalink
Only parse headers with doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
dpw13 committed Feb 10, 2024
1 parent 39c6bc9 commit 8897b9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ if(BUILD_DOCS)
find_package(Sphinx REQUIRED breathe exhale)
set(DOXYGEN_GENERATE_HTML NO)
set(DOXYGEN_GENERATE_XML YES)
# All doxygen comments are in header files. Processing cpp files
# produces duplicate C++ function definitions in doxygen, resulting
# in various problems.
# See https://github.com/breathe-doc/breathe/issues/772
set(DOXYGEN_EXCLUDE_PATTERNS "*.cpp")

doxygen_add_docs(
projectm_doxygen
Expand Down

0 comments on commit 8897b9f

Please sign in to comment.