diff options
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 9f74b69..39346da 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -1822,6 +1822,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 t(fileName.str(),std::ofstream::out | std::ofstream::binary); @@ -1858,6 +1859,19 @@ void generateXML() } t.close(); + std::ofstream f; + fileName=outputDirectory+"/Doxyfile.xml"; + bool fileOpened=openOutputFile(fileName,f); + if (fileOpened) + { + Config::writeXMLDoxyfile(f); + } + else + { + err("Cannot open file %s for writing\n",fileName.data()); + return; + } + fileName=outputDirectory+"/index.xml"; t.open(fileName.str(),std::ofstream::out | std::ofstream::binary); if (!t.is_open()) |