Skip to content

Commit

Permalink
Run Doxygen with warnings as errors
Browse files Browse the repository at this point in the history
So that we do not have so many issues creep in.
Need to allow it to generate bigger dot images, otherwise
this also causes warnings.

Signed-off-by: Frank Lichtenheld <[email protected]>
  • Loading branch information
flichtenheld committed Oct 17, 2024
1 parent a22e824 commit 7280198
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/ovpn-doxygen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ function(configure_doxygen projname outputdir)
set(DOXYGEN_CALL_GRAPH "NO" CACHE STRING "Generate call graph images (value: YES/NO)")
set(DOXYGEN_CALLER_GRAPH "YES" CACHE STRING "Generate caller graph images (value: YES/NO)")
set(DOXYGEN_FILE_PATTERNS *.c *.h *.cc *.hh *.cpp *.hpp *.java *.i *.md *.rst)
set(DOXYGEN_DOT_GRAPH_MAX_NODES 500)
set(DOXYGEN_WARN_AS_ERROR YES)

doxygen_add_docs(doxygen ALL
"${DOXYGEN_USE_MDFILE_AS_MAINPAGE}" "${CMAKE_CURRENT_SOURCE_DIR}"
Expand Down

0 comments on commit 7280198

Please sign in to comment.