Commit 4a7a59deecf0ac46a0be336ac4108d4eec92a8b7

Authored by mburge
1 parent 3c4e563e

Closer to custom doxygen headers from cmake.

CMakeLists.txt
@@ -121,10 +121,14 @@ option(BR_BUILD_DOCUMENTATION "Build Documentation (Requires doxygen and latex)" @@ -121,10 +121,14 @@ option(BR_BUILD_DOCUMENTATION "Build Documentation (Requires doxygen and latex)"
121 if(${BR_BUILD_DOCUMENTATION}) 121 if(${BR_BUILD_DOCUMENTATION})
122 find_package(Doxygen REQUIRED) 122 find_package(Doxygen REQUIRED)
123 configure_file(${BR_SHARE_DIR}/Doxyfile.in Doxyfile) 123 configure_file(${BR_SHARE_DIR}/Doxyfile.in Doxyfile)
  124 + configure_file(${BR_SHARE_DIR}/DoxygenHeader.html header.html)
  125 + configure_file(${BR_SHARE_DIR}/DoxygenFooter.html footer.html)
  126 + configure_file(${BR_SHARE_DIR}/DoxygenCustom.css customdoxygen.css)
124 add_custom_target(doc ALL ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) 127 add_custom_target(doc ALL ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
125 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/share/openbr/MBGC_file_overview.pdf ${CMAKE_CURRENT_BINARY_DIR}/html/MBGC_file_overview.pdf COPYONLY) 128 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/share/openbr/MBGC_file_overview.pdf ${CMAKE_CURRENT_BINARY_DIR}/html/MBGC_file_overview.pdf COPYONLY)
126 install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION .) 129 install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html DESTINATION .)
127 130
  131 +
128 option(BR_BUILD_DOCUMENTATION_PDF "Build PDF Documentation") 132 option(BR_BUILD_DOCUMENTATION_PDF "Build PDF Documentation")
129 if(${BR_BUILD_DOCUMENTATION_PDF}) 133 if(${BR_BUILD_DOCUMENTATION_PDF})
130 include(${BR_SHARE_DIR}/cmake/UseLATEX.cmake) 134 include(${BR_SHARE_DIR}/cmake/UseLATEX.cmake)
share/openbr/Doxyfile.in
@@ -662,7 +662,8 @@ WARN_LOGFILE = @@ -662,7 +662,8 @@ WARN_LOGFILE =
662 # with spaces. 662 # with spaces.
663 663
664 INPUT = ${CMAKE_CURRENT_SOURCE_DIR}/sdk \ 664 INPUT = ${CMAKE_CURRENT_SOURCE_DIR}/sdk \
665 - ${CMAKE_CURRENT_SOURCE_DIR}/app/br 665 + ${CMAKE_CURRENT_SOURCE_DIR}/app/br \
  666 + ${CMAKE_CURRENT_SOURCE_DIR}/share/openbr/header.html
666 667
667 # This tag can be used to specify the character encoding of the source files 668 # This tag can be used to specify the character encoding of the source files
668 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is 669 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
share/openbr/customdoxygen.css renamed to share/openbr/DoxygenCustom.css
share/openbr/footer.html renamed to share/openbr/DoxygenFooter.html
share/openbr/header.html renamed to share/openbr/DoxygenHeader.html