Adds basic Doxygen support. Run and docs will end up in

This commit is contained in:
Daniel Patterson 2015-09-09 17:18:47 -07:00 committed by Daniel J. Hofmann
parent e1ac1c4fdc
commit 895d8179a2
2 changed files with 2397 additions and 0 deletions

View File

@ -366,3 +366,14 @@ if(BUILD_DEBIAN_PACKAGE)
include(CPackDebianConfig) include(CPackDebianConfig)
include(CPack) include(CPack)
endif() endif()
# add a target to generate API documentation with Doxygen
find_package(Doxygen)
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
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API documentation with Doxygen" VERBATIM
)
endif(DOXYGEN_FOUND)

2386
Doxyfile.in Normal file

File diff suppressed because it is too large Load Diff