summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/doxygen.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 873f5dc..559e745 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -10363,7 +10363,12 @@ static void writeTagFile()
}
FTextStream tagFile(&tag);
tagFile << "<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>" << endl;
- tagFile << "<tagfile>" << endl;
+ tagFile << "<tagfile doxygen_version=\"" << getDoxygenVersion() << "\"";
+ if (strlen(getGitVersion())>0)
+ {
+ tagFile << " doxygen_gitid=\"" << getGitVersion() << "\"";
+ }
+ tagFile << ">" << endl;
// for each file
for (const auto &fn : *Doxygen::inputNameLinkedMap)