We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4d622e + fd79eba commit 25dab11Copy full SHA for 25dab11
CMakeLists.txt
@@ -98,4 +98,13 @@ add_subdirectory(tests)
98
99
################### DOCUMENTATION ###################
100
# Find Doxygen (used for documentation)
101
-include(cmake/Modules/UseDoxygen.cmake)
+include(cmake/Modules/UseDoxygen.cmake)
102
+
103
+# Install docs, if the user builds them with `make doc`
104
+install(CODE "MESSAGE(\"Checking for documentation files to install...\")")
105
+install(CODE "MESSAGE(\"(Compile with 'make doc' command, requires Doxygen)\")")
106
107
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc/html/
108
+ DESTINATION ${CMAKE_INSTALL_DOCDIR}/API
109
+ MESSAGE_NEVER # Don't spew about file copies
110
+ OPTIONAL ) # No error if the docs aren't found
0 commit comments