summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-04-29 19:49:41 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-04-29 19:49:41 (GMT)
commit44d55811919cca36ba0709d805fd5b1478fdf4ea (patch)
tree24a35f6ee59ee522eff75d7d9508aca73dd67ab2 /src/xmlgen.cpp
parent3735693b80b6785f9cc16c4e559ca54be8cfbffe (diff)
parent4b4489579d31a13b1c4581ad1fe3d7c491fb5816 (diff)
downloadDoxygen-44d55811919cca36ba0709d805fd5b1478fdf4ea.zip
Doxygen-44d55811919cca36ba0709d805fd5b1478fdf4ea.tar.gz
Doxygen-44d55811919cca36ba0709d805fd5b1478fdf4ea.tar.bz2
Merge branch 'albert-github-feature/bug_xml_settings'
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 8489a3c..86f3081 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -1898,6 +1898,7 @@ void generateXML()
ResourceMgr::instance().copyResource("xml.xsd",outputDirectory);
ResourceMgr::instance().copyResource("index.xsd",outputDirectory);
+ ResourceMgr::instance().copyResource("doxyfile.xsd",outputDirectory);
QCString fileName=outputDirectory+"/compound.xsd";
std::ofstream f(fileName.str(),std::ofstream::out | std::ofstream::binary);
@@ -1935,6 +1936,20 @@ void generateXML()
}
f.close();
+ fileName=outputDirectory+"/Doxyfile.xml";
+ f.open(fileName.str(),std::ofstream::out | std::ofstream::binary);
+ if (!f.is_open())
+ {
+ err("Cannot open file %s for writing\n",fileName.data());
+ return;
+ }
+ else
+ {
+ TextStream t(&f);
+ Config::writeXMLDoxyfile(t);
+ }
+ f.close();
+
fileName=outputDirectory+"/index.xml";
f.open(fileName.str(),std::ofstream::out | std::ofstream::binary);
if (!f.is_open())