1 # generate doxygen documentation for json-c API 2 3 find_package(Doxygen) 4 5 if (DOXYGEN_FOUND) 6 7 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in 8 ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) 9 message(STATUS "Wrote ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile") 10 11 add_custom_target(doc 12 COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) 13 14 else (DOXYGEN_FOUND) 15 message("Warning: doxygen not found, the 'doc' target will not be included") 16 endif(DOXYGEN_FOUND)
This page was automatically generated by LXR 0.3.1. • OpenWrt