summaryrefslogtreecommitdiffstats
path: root/src/version.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-04-07 13:10:53 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-04-07 13:10:53 (GMT)
commitfa9dda01e6c013c7fe9be99b21d8bbf3c95c0482 (patch)
tree33fb7fab952dd602aa91ba29525e749e146a3596 /src/version.h
parent16d025c8a08b485f5d43ade0986d716bd6aa06f8 (diff)
downloadDoxygen-fa9dda01e6c013c7fe9be99b21d8bbf3c95c0482.zip
Doxygen-fa9dda01e6c013c7fe9be99b21d8bbf3c95c0482.tar.gz
Doxygen-fa9dda01e6c013c7fe9be99b21d8bbf3c95c0482.tar.bz2
Show git version information
Show the git version on designated places (currently version, help and Doxyfile difference). The implementation is based on the git_watcher.cmake (https://github.com/andrew-hardin/cmake-git-version-tracking). The information is useful to see which. master, version of doxygen is used for a build on systems where a lot of builds are make (Fossies.org) or very regular builds are made (CGAL) Furthermore the tracking of the VERSION file was not done (when changed the version.cpp was not updated), this is corrected as well.
Diffstat (limited to 'src/version.h')
-rw-r--r--src/version.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.h b/src/version.h
index 16bf9df..09d1b4f 100644
--- a/src/version.h
+++ b/src/version.h
@@ -19,5 +19,7 @@
#define VERSION_H
extern char versionString[];
+extern char gitVersionString[];
+void correctGitVersion(void);
#endif