Added version in doc header

This commit is contained in:
Marco Antognini 2014-12-22 22:19:38 +01:00 committed by Lukas Dürrenberger
parent 8b7ac65aa3
commit b0d6c2bea9
3 changed files with 3 additions and 2 deletions

View File

@ -39,6 +39,7 @@ endif()
# configure the source Doxyfile by copying it and replacing all @variables@
set(DOXYGEN_CONFIGURED_INPUT ${DOXYGEN_OUTPUT_DIR}/doxyfile)
configure_file(${DOXYGEN_INPUT_DIR}/doc/doxyfile.in ${DOXYGEN_CONFIGURED_INPUT} @ONLY)
configure_file(${DOXYGEN_INPUT_DIR}/doc/header.html.in ${DOXYGEN_OUTPUT_DIR}/header.html @ONLY)
# copy the files needed by the documentation
configure_file(${DOXYGEN_INPUT_DIR}/doc/doxygen.css ${DOXYGEN_OUTPUT_DIR}/html/doxygen.css COPYONLY)

View File

@ -1083,7 +1083,7 @@ HTML_FILE_EXTENSION = .html
# of the possible markers and block names see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_HEADER = "@DOXYGEN_INPUT_DIR@/doc/header.html"
HTML_HEADER = "@DOXYGEN_OUTPUT_DIR@/header.html"
# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
# generated HTML page. If the tag is left blank doxygen will generate a standard

View File

@ -12,7 +12,7 @@
<body>
<div id="banner-container">
<div id="banner">
<span id="sfml">SFML</span>
<span id="sfml">SFML @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@</span>
</div>
</div>
<div id="content">