File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,13 +12,25 @@ function(enable_doxygen DOXYGEN_THEME)
1212 if (NOT ${_is_verbose} )
1313 set (DOXYGEN_QUIET YES )
1414 endif ()
15- set (DOXYGEN_CALLER_GRAPH YES )
16- set (DOXYGEN_CALL_GRAPH YES )
17- set (DOXYGEN_EXTRACT_ALL YES )
18- set (DOXYGEN_GENERATE_TREEVIEW YES )
15+ if (NOT DEFINED DOXYGEN_CALLER_GRAPH)
16+ set (DOXYGEN_CALLER_GRAPH YES )
17+ endif ()
18+ if (NOT DEFINED DOXYGEN_CALL_GRAPH)
19+ set (DOXYGEN_CALL_GRAPH YES )
20+ endif ()
21+ if (NOT DEFINED DOXYGEN_EXTRACT_ALL)
22+ set (DOXYGEN_EXTRACT_ALL YES )
23+ endif ()
24+ if (NOT DEFINED DOXYGEN_GENERATE_TREEVIEW)
25+ set (DOXYGEN_GENERATE_TREEVIEW YES )
26+ endif ()
1927 # svg files are much smaller than jpeg and png, and yet they have higher quality
20- set (DOXYGEN_DOT_IMAGE_FORMAT svg)
21- set (DOXYGEN_DOT_TRANSPARENT YES )
28+ if (NOT DEFINED DOXYGEN_DOT_IMAGE_FORMAT)
29+ set (DOXYGEN_DOT_IMAGE_FORMAT svg)
30+ endif ()
31+ if (NOT DEFINED DOXYGEN_DOT_TRANSPARENT)
32+ set (DOXYGEN_DOT_TRANSPARENT YES )
33+ endif ()
2234
2335 # If not specified, exclude the vcpkg files and the files CMake downloads under _deps (like project_options)
2436 if (NOT DOXYGEN_EXCLUDE_PATTERNS)
You can’t perform that action at this time.
0 commit comments