diff options
author | albert-github <albert.tests@gmail.com> | 2020-04-20 12:41:49 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-04-20 12:41:49 (GMT) |
commit | 991f64abb257d1a70077ed809cba6c6adca38042 (patch) | |
tree | a2fa7978b6daaf3e239bf7f974677430897c9c21 /src/doxygen.cpp | |
parent | cd581388f3d013c501e3cefbaf3e81cf93d46fcb (diff) | |
download | Doxygen-991f64abb257d1a70077ed809cba6c6adca38042.zip Doxygen-991f64abb257d1a70077ed809cba6c6adca38042.tar.gz Doxygen-991f64abb257d1a70077ed809cba6c6adca38042.tar.bz2 |
Add doxygen version information to tag file
Add doxygen version information to doxygen tag file.
currently this information is not used inside doxygen , but is useful for checking with which version of doxygen is used when debugging problems.
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index c59b075..f773180 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -10361,6 +10361,13 @@ static void writeTagFile() FTextStream tagFile(&tag); tagFile << "<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>" << endl; tagFile << "<tagfile>" << endl; + tagFile << " <doxygen"; + tagFile << " version=\"" << getDoxygenVersion() << "\""; + if (strlen(getGitVersion())>0) + { + tagFile << " gitid=\"" << getGitVersion() << "\""; + } + tagFile << "></doxygen>" << endl; // for each file for (const auto &fn : *Doxygen::inputNameLinkedMap) |