Add README and sdbus-c++ tutorial as additional pages in doxydocs (#153)

Co-authored-by: Craig Spannring <craig.spannring@milnxpd001.mti.local>
Co-authored-by: Stanislav Angelovič <angelovic.s@gmail.com>
This commit is contained in:
craig-spannring
2021-04-29 16:46:36 +02:00
committed by GitHub
co-authored by Craig Spannring Stanislav Angelovič
parent 70778bfae0
commit d46cbba23c
2 changed files with 8 additions and 2 deletions
+4
View File
@@ -12,6 +12,10 @@ if(BUILD_DOXYGEN_DOC)
COMMENT "Generating API documentation with Doxygen"
VERBATIM)
# workaround bug https://github.com/doxygen/doxygen/pull/6787
add_custom_command(TARGET doc POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_LIST_DIR}/sdbus-c++-class-diagram.png ${CMAKE_CURRENT_BINARY_DIR}/html/.)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION ${CMAKE_INSTALL_DOCDIR} OPTIONAL)
else()
message(WARNING "Documentation enabled, but Doxygen cannot be found")