Added 'make documentation' target to CMake that generates documentation with Doxygen.
This commit is contained in:
@ -161,3 +161,16 @@ configure_file(
|
|||||||
|
|
||||||
add_custom_target(uninstall
|
add_custom_target(uninstall
|
||||||
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
|
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
|
||||||
|
|
||||||
|
find_package(Doxygen)
|
||||||
|
|
||||||
|
if(DOXYGEN_FOUND)
|
||||||
|
configure_file(
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/doxygate.in"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/doxygate"
|
||||||
|
IMMEDIATE @ONLY)
|
||||||
|
|
||||||
|
add_custom_target(documentation
|
||||||
|
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygate)
|
||||||
|
|
||||||
|
endif()
|
||||||
|
|||||||
1520
doxygate.in
Normal file
1520
doxygate.in
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user