summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-03-14 09:35:19 (GMT)
committerGitHub <noreply@github.com>2020-03-14 09:35:19 (GMT)
commitffd222f0bb26e6b9fb696bfda60a5f675cae1514 (patch)
treeb9e09d7c2dcac321c0fa222d3cf7ba8dc6933603 /src
parentef07bc9fb2fc86d30f4a6781c4b0c48564d27b03 (diff)
downloadDoxygen-ffd222f0bb26e6b9fb696bfda60a5f675cae1514.zip
Doxygen-ffd222f0bb26e6b9fb696bfda60a5f675cae1514.tar.gz
Doxygen-ffd222f0bb26e6b9fb696bfda60a5f675cae1514.tar.bz2
Doxygen version in the messages output (#7640)
Output the doxygen version with the normal progress messages (and suppress in case of QUIET=YES).
Diffstat (limited to 'src')
-rw-r--r--src/doxygen.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 3fa6959..a0e9623 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -10772,6 +10772,18 @@ void parseInput()
{
atexit(exitDoxygen);
+ // we would like to show the versionString earlier, but we first have to handle the configuration file
+ // to know the value of the QUIET setting.
+ QCString versionString;
+ if (strlen(getGitVersion())>0)
+ {
+ versionString = QCString(getVersion())+" ("+getGitVersion()+")";
+ }
+ else
+ {
+ versionString = getVersion();
+ }
+ msg("Doxygen version used: %s\n",versionString.data());
/**************************************************************************
* Make sure the output directory exists