* add proper version information in doxygen
authorchristian mueller <christian.ei.mueller@bmw.de>
Tue, 21 Feb 2012 13:13:59 +0000 (14:13 +0100)
committerchristian mueller <christian.ei.mueller@bmw.de>
Tue, 21 Feb 2012 13:13:59 +0000 (14:13 +0100)
CMakeLists.txt
cmake/DoxyFile.in

index f7702eb..10baaaa 100644 (file)
@@ -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)
 
index a885866..8c0df15 100644 (file)
@@ -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.