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:
Daniel J. Hofmann 2015-09-16 17:13:57 +02:00
parent 42ab938a19
commit 65ee5c4bbb
2 changed files with 13 additions and 2357 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff