X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/4612a1475669091669d76054f341cd4a02b5c2d0..dbb6f1e7ec9a0fb7ca077062864767d3b60ef813:/doc/CMakeLists.txt diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt new file mode 100644 index 0000000..81a7c45 --- /dev/null +++ b/doc/CMakeLists.txt @@ -0,0 +1,11 @@ +# add a target to generate API documentation with Doxygen +find_package(Doxygen) +if(DOXYGEN_FOUND) + configure_file("Doxyfile.in" "Doxyfile" @ONLY IMMEDIATE) + + 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)