diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-07 18:58:49 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-11-13 20:21:39 (GMT) |
commit | 0fea3d4ca57187f271d7580ff16f32b7ab4657df (patch) | |
tree | 867c49d9450eeb9ec85d1ec36a4dd71caa91d007 /src/doxygen.cpp | |
parent | 475b0c51847271b04cb0e58254bd7e420445250b (diff) | |
download | Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.zip Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.tar.gz Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.tar.bz2 |
Introduced template directory for template and resource files and resource compiler & manager
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 4e8409a..df1f853 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -100,6 +100,9 @@ #include "context.h" #include "fileparser.h" +// provided by the generated file resources.cpp +extern void initResources(); + #define RECURSE_ENTRYTREE(func,var) \ do { if (var->children()) { \ EntryNavListIterator eli(*var->children()); \ @@ -9915,6 +9918,7 @@ static const char *getArg(int argc,char **argv,int &optind) void initDoxygen() { + initResources(); const char *lang = portable_getenv("LC_ALL"); if (lang) portable_setenv("LANG",lang); setlocale(LC_ALL,""); @@ -10884,7 +10888,7 @@ void parseInput() QCString htmlOutput; bool &generateHtml = Config_getBool("GENERATE_HTML"); - if (generateHtml) + if (generateHtml || g_useOutputTemplate /* TODO: temp hack */) htmlOutput = createOutputDirectory(outputDirectory,"HTML_OUTPUT","/html"); QCString docbookOutput; |