Ensured that documentation is always built and installed to the correct location.
This commit is contained in:
@@ -1,2 +1,9 @@
|
|||||||
configure_file(Doxyfile.in "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile")
|
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
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user