diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-21 14:13:59 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-21 14:13:59 +0100 |
commit | 6fe9114b621b97c1f45e3a7db95374c4d99fb924 (patch) | |
tree | 1f7ca6e204c1b442ae6c5cba737fa757ed22d144 /CMakeLists.txt | |
parent | 906f202f7663e6c372c192d3bd7015d32a0fbc34 (diff) | |
download | audiomanager-6fe9114b621b97c1f45e3a7db95374c4d99fb924.tar.gz |
* add proper version information in doxygen
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 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) |