4 # configuration variables
5 set(CMAKE_DOXYGEN_INPUT_LIST ${CMAKE_SOURCE_DIR}/src/)
6 set(DOXYGEN_OUTPUT_DIR html)
8 configure_file(Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
9 add_custom_command(OUTPUT ${DOXYGEN_OUTPUT_DIR}
10 DEPENDS rtosc-doc zynaddsubfx ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
11 COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
12 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
13 COMMENT "Generating API documentation with Doxygen" VERBATIM)
14 add_custom_target(doc DEPENDS html)
17 add_subdirectory(bash-completion)