From ffd222f0bb26e6b9fb696bfda60a5f675cae1514 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sat, 14 Mar 2020 10:35:19 +0100 Subject: Doxygen version in the messages output (#7640) Output the doxygen version with the normal progress messages (and suppress in case of QUIET=YES). --- src/doxygen.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit v0.12