summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
-rw-r--r--cmake/DoxyFile.in4
2 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f7702eb..10baaaa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,10 @@ ENDIF(DAEMON_ERROR)
message(STATUS "Build Version ${DAEMONVERSION}")
+FILE(READ "cmake/DoxyFile.in" DOXYFILE)
+STRING(REGEX REPLACE "(PROJECT_NUMBER = [0-9].[0-9].[0-9])" "PROJECT_NUMBER = ${DAEMONVERSION}" DOXYFILE ${DOXYFILE})
+FILE(WRITE "cmake/DoxyFile.in" ${DOXYFILE} )
+
execute_process(COMMAND git log --pretty=short WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_FILE ${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG)
diff --git a/cmake/DoxyFile.in b/cmake/DoxyFile.in
index a885866..8c0df15 100644
--- a/cmake/DoxyFile.in
+++ b/cmake/DoxyFile.in
@@ -31,7 +31,7 @@ PROJECT_NAME = AudioManager
# This could be handy for archiving the generated documentation or
# if some version control system is used.
-PROJECT_NUMBER = 0.1
+PROJECT_NUMBER = 0.9.30
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
@@ -232,7 +232,7 @@ EXTENSION_MAPPING =
# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
# to include (a tag file for) the STL sources as input, then you should
# set this tag to YES in order to let doxygen match functions declarations and
-# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
+# definitions whose arguments contain STL classes (e.g. func(std::string) v.s.
# func(std::string) {}). This also make the inheritance and collaboration
# diagrams that involve STL classes more complete and accurate.