diff --git a/CMakeLists.txt b/CMakeLists.txt index e669d79..fb0e8f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,10 +121,14 @@ option(BR_BUILD_DOCUMENTATION "Build Documentation (Requires doxygen and latex)" if(${BR_BUILD_DOCUMENTATION}) find_package(Doxygen REQUIRED) configure_file(${BR_SHARE_DIR}/Doxyfile.in Doxyfile) + configure_file(${BR_SHARE_DIR}/DoxygenHeader.html header.html) + configure_file(${BR_SHARE_DIR}/DoxygenFooter.html footer.html) + configure_file(${BR_SHARE_DIR}/DoxygenCustom.css customdoxygen.css) add_custom_target(doc ALL ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/share/openbr/MBGC_file_overview.pdf ${CMAKE_CURRENT_BINARY_DIR}/html/MBGC_file_overview.pdf COPYONLY) install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION .) + option(BR_BUILD_DOCUMENTATION_PDF "Build PDF Documentation") if(${BR_BUILD_DOCUMENTATION_PDF}) include(${BR_SHARE_DIR}/cmake/UseLATEX.cmake) diff --git a/share/openbr/Doxyfile.in b/share/openbr/Doxyfile.in index d302879..c3a399f 100644 --- a/share/openbr/Doxyfile.in +++ b/share/openbr/Doxyfile.in @@ -662,7 +662,8 @@ WARN_LOGFILE = # with spaces. INPUT = ${CMAKE_CURRENT_SOURCE_DIR}/sdk \ - ${CMAKE_CURRENT_SOURCE_DIR}/app/br + ${CMAKE_CURRENT_SOURCE_DIR}/app/br \ + ${CMAKE_CURRENT_SOURCE_DIR}/share/openbr/header.html # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is diff --git a/share/openbr/customdoxygen.css b/share/openbr/DoxygenCustom.css index 2642e8f..2642e8f 100644 --- a/share/openbr/customdoxygen.css +++ b/share/openbr/DoxygenCustom.css diff --git a/share/openbr/footer.html b/share/openbr/DoxygenFooter.html index 80222ad..80222ad 100644 --- a/share/openbr/footer.html +++ b/share/openbr/DoxygenFooter.html diff --git a/share/openbr/header.html b/share/openbr/DoxygenHeader.html index 78730af..78730af 100644 --- a/share/openbr/header.html +++ b/share/openbr/DoxygenHeader.html