Change ALSA device default to 'default' from hw:0
[zynaddsubfx-code.git] / doc / CMakeLists.txt
blob575ceb24380dfebd8226c90cd674d4cfcd47b48e
1 find_package(Doxygen)
3 if(DOXYGEN_FOUND)
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)
15 endif()
17 add_subdirectory(bash-completion)