blob: c7e2fab3c4aab99323e9215f7888e5b0c9f08666 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
find_package(Doxygen)
if(DOXYGEN_FOUND)
set(DOXYGEN_PROJECT_NAME "Mapbox GL Native")
set(DOXYGEN_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/docs")
set(DOXYGEN_GENERATE_XML TRUE)
set(DOXYGEN_QUIET YES)
set(DOXYGEN_WARN_LOGFILE ${CMAKE_BINARY_DIR}/doxygen_warn.log)
doxygen_add_docs(generate_xml_doxygen
${CMAKE_SOURCE_DIR}/include
)
add_custom_target(doxygen_coverage
COMMAND ${CMAKE_SOURCE_DIR}/scripts/doxy-coverage.py --noerror "${CMAKE_BINARY_DIR}/docs/xml"
COMMENT "Checking documentation coverage"
DEPENDS generate_xml_doxygen
)
endif()
|