fix the regressions blocking doxygen documentation generation

This commit is contained in:
Laurent THOMAS
2022-12-06 08:45:30 +01:00
committed by Robert Schmidt
parent f7c3874e20
commit 00d1114fa3
8 changed files with 4354 additions and 2505 deletions
+15
View File
@@ -0,0 +1,15 @@
find_package(Doxygen QUIET)
if(DOXYGEN_FOUND)
configure_file(Doxyfile ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
add_custom_target(doc
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
COMMENT "Generating API documentation with Doxygen" VERBATIM
)
else()
add_custom_target(doc
message(FATAL_ERROR "required to generate doxygen documentation but doxygen not installed")
)
endif(DOXYGEN_FOUND)