Exclude unit tests and benchmarks from doxygen and make it more robust.
Only specify the flags we change from the default. doxygen -g Doxyfile Generates a default Doxyfile. Also, make the docs not depend on `dot`, but conditionally create graphs if `dot` is available, and if not still generate docs.
This commit is contained in:
parent
42ab938a19
commit
65ee5c4bbb
@ -369,7 +369,7 @@ endif()
|
||||
|
||||
# add a target to generate API documentation with Doxygen
|
||||
find_package(Doxygen)
|
||||
if(DOXYGEN_FOUND AND DOXYGEN_DOT_FOUND)
|
||||
if(DOXYGEN_FOUND)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
|
||||
add_custom_target(doc
|
||||
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
|
||||
|
2368
Doxyfile.in
2368
Doxyfile.in
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user