From d5e463519847e6bd90c1ceb346fd740ab020d8a3 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Fri, 8 Jul 2011 14:52:34 +0200 Subject: [PATCH] state OpenMW version on doxygen main page --- .gitignore | 1 + CMakeLists.txt | 4 ++++ Docs/Doxyfile | 1 + Docs/DoxyfilePages | 1 + Docs/mainpage.hpp.cmake | 5 +++++ 5 files changed, 12 insertions(+) create mode 100644 Docs/mainpage.hpp.cmake diff --git a/.gitignore b/.gitignore index a58044556..b17b5a584 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ build Doxygen prebuilt apps/openmw/config.hpp +Docs/mainpage.hpp diff --git a/CMakeLists.txt b/CMakeLists.txt index c3a51d715..235d920e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,10 @@ set (OPENMW_VERSION_PATCH 0) set (OPENMW_VERSION "${OPENMW_VERSION_MAJOR}.${OPENMW_VERSION_MINOR}.${OPENMW_VERSION_PATCH}") +# doxygen main page + +configure_file ("${OpenMW_SOURCE_DIR}/Docs/mainpage.hpp.cmake" "${OpenMW_SOURCE_DIR}/Docs/mainpage.hpp") + # Sound source selection option(USE_AUDIERE "use Audiere for sound" OFF) option(USE_FFMPEG "use ffmpeg for sound" OFF) diff --git a/Docs/Doxyfile b/Docs/Doxyfile index 0a1e0eae8..43c3312ad 100644 --- a/Docs/Doxyfile +++ b/Docs/Doxyfile @@ -576,6 +576,7 @@ WARN_LOGFILE = INPUT = apps \ components \ libs \ + Docs # 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/Docs/DoxyfilePages b/Docs/DoxyfilePages index 943e2eef0..5ce82a7c2 100644 --- a/Docs/DoxyfilePages +++ b/Docs/DoxyfilePages @@ -576,6 +576,7 @@ WARN_LOGFILE = INPUT = apps \ components \ libs \ + Docs # 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/Docs/mainpage.hpp.cmake b/Docs/mainpage.hpp.cmake new file mode 100644 index 000000000..f8cdf8a82 --- /dev/null +++ b/Docs/mainpage.hpp.cmake @@ -0,0 +1,5 @@ +/// \mainpage +/// +/// This is the source documentation for: +/// +/// OpenMW @OPENMW_VERSION@