Ensured that documentation is always built and installed to the correct location.

This commit is contained in:
Nathan Osman
2015-03-23 19:47:37 -07:00
parent 2c52cc37cb
commit 3cddd05fbb

View File

@@ -1,2 +1,9 @@
configure_file(Doxyfile.in "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile")
add_custom_target(doc doxygen "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile")
add_custom_target(doc ALL
doxygen "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile"
)
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html"
DESTINATION share/doc/qhttpengine
)