CMAKE: added doxygen target

master
mgerhardy 2016-05-05 20:50:48 +02:00
parent c41b11aa9a
commit a0953fcb8e
2 changed files with 2436 additions and 0 deletions

View File

@ -107,4 +107,13 @@ if (UNITTESTS)
endif()
endif()
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)
copy_data_files(shared)

2427
Doxyfile.in Normal file

File diff suppressed because it is too large Load Diff