blob: 5b119bdcf4b300a6238a18de0065ae1c9cec286c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
add_custom_target (documentation)
find_program (DOXYGEN_PATH doxygen)
if (DOXYGEN_PATH)
add_custom_target (documentation-doxygen
COMMAND ${DOXYGEN_PATH} Doxyfile
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
add_dependencies (documentation documentation-doxygen)
else ()
message (WARNING "Doxygen is not found - source-code documentation is not available")
endif ()
|