diff options
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 78 |
1 files changed, 73 insertions, 5 deletions
diff --git a/src/config.l b/src/config.l index 8c864ff..06521d3 100644 --- a/src/config.l +++ b/src/config.l @@ -1,4 +1,4 @@ -/* This file was generated by configgen on Fri Jul 14 20:01:34 2000 +/* This file was generated by configgen on Fri Jul 28 19:43:36 2000 * from config_templ.l * * DO NOT EDIT! @@ -102,6 +102,8 @@ bool Config::inlineInfoFlag = TRUE; bool Config::sortMembersFlag = TRUE; int Config::tabSize = 8; QStrList Config::sectionFilterList; +bool Config::generateTodoList = TRUE; +bool Config::generateTestList = TRUE; bool Config::quietFlag = FALSE; bool Config::warningFlag = TRUE; bool Config::warningUndocFlag = TRUE; @@ -132,6 +134,7 @@ QCString Config::paperType = "a4wide"; QStrList Config::extraPackageList; QCString Config::latexHeaderFile; bool Config::pdfHyperFlag = FALSE; +bool Config::usePDFLatexFlag = FALSE; bool Config::latexBatchModeFlag = FALSE; bool Config::generateRTF = TRUE; QCString Config::rtfOutputDir = "rtf"; @@ -141,6 +144,7 @@ QCString Config::rtfStylesheetFile; bool Config::generateMan = TRUE; QCString Config::manOutputDir = "man"; QCString Config::manExtension = ".3"; +bool Config::generateXML = FALSE; bool Config::preprocessingFlag = TRUE; bool Config::macroExpansionFlag = FALSE; bool Config::onlyPredefinedFlag = FALSE; @@ -251,6 +255,8 @@ static int yyread(char *buf,int max_size) <Start>"SORT_MEMBER_DOCS"[ \t]*"=" { BEGIN(GetBool); b=&Config::sortMembersFlag; } <Start>"TAB_SIZE"[ \t]*"=" { BEGIN(GetString); s=&tabSizeString; s->resize(0); } <Start>"ENABLED_SECTIONS"[ \t]*"=" { BEGIN(GetStrList); l=&Config::sectionFilterList; l->clear(); elemStr=""; } +<Start>"GENERATE_TODOLIST"[ \t]*"=" { BEGIN(GetBool); b=&Config::generateTodoList; } +<Start>"GENERATE_TESTLIST"[ \t]*"=" { BEGIN(GetBool); b=&Config::generateTestList; } <Start>"QUIET"[ \t]*"=" { BEGIN(GetBool); b=&Config::quietFlag; } <Start>"WARNINGS"[ \t]*"=" { BEGIN(GetBool); b=&Config::warningFlag; } <Start>"WARN_IF_UNDOCUMENTED"[ \t]*"=" { BEGIN(GetBool); b=&Config::warningUndocFlag; } @@ -281,6 +287,7 @@ static int yyread(char *buf,int max_size) <Start>"EXTRA_PACKAGES"[ \t]*"=" { BEGIN(GetStrList); l=&Config::extraPackageList; l->clear(); elemStr=""; } <Start>"LATEX_HEADER"[ \t]*"=" { BEGIN(GetString); s=&Config::latexHeaderFile; s->resize(0); } <Start>"PDF_HYPERLINKS"[ \t]*"=" { BEGIN(GetBool); b=&Config::pdfHyperFlag; } +<Start>"USE_PDFLATEX"[ \t]*"=" { BEGIN(GetBool); b=&Config::usePDFLatexFlag; } <Start>"LATEX_BATCHMODE"[ \t]*"=" { BEGIN(GetBool); b=&Config::latexBatchModeFlag; } <Start>"GENERATE_RTF"[ \t]*"=" { BEGIN(GetBool); b=&Config::generateRTF; } <Start>"RTF_OUTPUT"[ \t]*"=" { BEGIN(GetString); s=&Config::rtfOutputDir; s->resize(0); } @@ -290,6 +297,7 @@ static int yyread(char *buf,int max_size) <Start>"GENERATE_MAN"[ \t]*"=" { BEGIN(GetBool); b=&Config::generateMan; } <Start>"MAN_OUTPUT"[ \t]*"=" { BEGIN(GetString); s=&Config::manOutputDir; s->resize(0); } <Start>"MAN_EXTENSION"[ \t]*"=" { BEGIN(GetString); s=&Config::manExtension; s->resize(0); } +<Start>"GENERATE_XML"[ \t]*"=" { BEGIN(GetBool); b=&Config::generateXML; } <Start>"ENABLE_PREPROCESSING"[ \t]*"=" { BEGIN(GetBool); b=&Config::preprocessingFlag; } <Start>"MACRO_EXPANSION"[ \t]*"=" { BEGIN(GetBool); b=&Config::macroExpansionFlag; } <Start>"EXPAND_ONLY_PREDEF"[ \t]*"=" { BEGIN(GetBool); b=&Config::onlyPredefinedFlag; } @@ -452,6 +460,8 @@ void dumpConfig() is=Config::sectionFilterList.next(); } } + printf("generateTodoList=`%d'\n",Config::generateTodoList); + printf("generateTestList=`%d'\n",Config::generateTestList); printf("# configuration options related to warning and progress messages\n"); printf("quietFlag=`%d'\n",Config::quietFlag); printf("warningFlag=`%d'\n",Config::warningFlag); @@ -550,6 +560,7 @@ void dumpConfig() } printf("latexHeaderFile=`%s'\n",Config::latexHeaderFile.data()); printf("pdfHyperFlag=`%d'\n",Config::pdfHyperFlag); + printf("usePDFLatexFlag=`%d'\n",Config::usePDFLatexFlag); printf("latexBatchModeFlag=`%d'\n",Config::latexBatchModeFlag); printf("# configuration options related to the RTF output\n"); printf("generateRTF=`%d'\n",Config::generateRTF); @@ -561,6 +572,8 @@ void dumpConfig() printf("generateMan=`%d'\n",Config::generateMan); printf("manOutputDir=`%s'\n",Config::manOutputDir.data()); printf("manExtension=`%s'\n",Config::manExtension.data()); + printf("# configuration options related to the XML output\n"); + printf("generateXML=`%d'\n",Config::generateXML); printf("# Configuration options related to the preprocessor \n"); printf("preprocessingFlag=`%d'\n",Config::preprocessingFlag); printf("macroExpansionFlag=`%d'\n",Config::macroExpansionFlag); @@ -669,6 +682,8 @@ void Config::init() Config::sortMembersFlag = TRUE; Config::tabSize = 8; Config::sectionFilterList.clear(); + Config::generateTodoList = TRUE; + Config::generateTestList = TRUE; Config::quietFlag = FALSE; Config::warningFlag = TRUE; Config::warningUndocFlag = TRUE; @@ -699,6 +714,7 @@ void Config::init() Config::extraPackageList.clear(); Config::latexHeaderFile.resize(0); Config::pdfHyperFlag = FALSE; + Config::usePDFLatexFlag = FALSE; Config::latexBatchModeFlag = FALSE; Config::generateRTF = TRUE; Config::rtfOutputDir = "rtf"; @@ -708,6 +724,7 @@ void Config::init() Config::generateMan = TRUE; Config::manOutputDir = "man"; Config::manExtension = ".3"; + Config::generateXML = FALSE; Config::preprocessingFlag = TRUE; Config::macroExpansionFlag = FALSE; Config::onlyPredefinedFlag = FALSE; @@ -846,7 +863,7 @@ void writeTemplateConfig(QFile *f,bool sl) t << "# information to generate all constant output in the proper language. \n"; t << "# The default language is English, other supported languages are: \n"; t << "# Dutch, French, Italian, Czech, Swedish, German, Finnish, Japanese, \n"; - t << "# Spanish, Russian, Croatian and Polish.\n"; + t << "# Spanish, Russian, Croatian, Polish, and Portuguese.\n"; t << "\n"; } t << "OUTPUT_LANGUAGE = "; @@ -1146,6 +1163,28 @@ void writeTemplateConfig(QFile *f,bool sl) if (!sl) { t << "\n"; + t << "# The GENERATE_TODOLIST tag can be used to enable (YES) or \n"; + t << "# disable (NO) the todo list. This list is created by putting \\todo \n"; + t << "# commands in the documentation.\n"; + t << "\n"; + } + t << "GENERATE_TODOLIST = "; + writeBoolValue(t,Config::generateTodoList); + t << "\n"; + if (!sl) + { + t << "\n"; + t << "# The GENERATE_TESTLIST tag can be used to enable (YES) or \n"; + t << "# disable (NO) the test list. This list is created by putting \\test \n"; + t << "# commands in the documentation.\n"; + t << "\n"; + } + t << "GENERATE_TESTLIST = "; + writeBoolValue(t,Config::generateTestList); + t << "\n"; + if (!sl) + { + t << "\n"; } t << "#---------------------------------------------------------------------------\n"; t << "# configuration options related to warning and progress messages\n"; @@ -1519,6 +1558,17 @@ void writeTemplateConfig(QFile *f,bool sl) if (!sl) { t << "\n"; + t << "# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of \n"; + t << "# plain latex in the generated Makefile. Set this option to YES to get a \n"; + t << "# higher quality PDF documentation. \n"; + t << "\n"; + } + t << "USE_PDFLATEX = "; + writeBoolValue(t,Config::usePDFLatexFlag); + t << "\n"; + if (!sl) + { + t << "\n"; t << "# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\\\batchmode. \n"; t << "# command to the generated LaTeX files. This will instruct LaTeX to keep \n"; t << "# running if errors occur, instead of asking the user for help. \n"; @@ -1539,9 +1589,8 @@ void writeTemplateConfig(QFile *f,bool sl) { t << "\n"; t << "# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output \n"; - t << "# For now this is experimental and is disabled by default. The RTF output \n"; - t << "# is optimised for Word 97 and may not look too pretty with other readers \n"; - t << "# or editors.\n"; + t << "# The RTF output is optimised for Word 97 and may not look very pretty with \n"; + t << "# other RTF readers or editors.\n"; t << "\n"; } t << "GENERATE_RTF = "; @@ -1637,6 +1686,25 @@ void writeTemplateConfig(QFile *f,bool sl) t << "\n"; } t << "#---------------------------------------------------------------------------\n"; + t << "# configuration options related to the XML output\n"; + t << "#---------------------------------------------------------------------------\n"; + if (!sl) + { + t << "\n"; + t << "# If the GENERATE_XML tag is set to YES Doxygen will \n"; + t << "# generate an XML file that captures the structure of \n"; + t << "# the code including all documentation. Warning: This feature \n"; + t << "# is still experimental and very incomplete.\n"; + t << "\n"; + } + t << "GENERATE_XML = "; + writeBoolValue(t,Config::generateXML); + t << "\n"; + if (!sl) + { + t << "\n"; + } + t << "#---------------------------------------------------------------------------\n"; t << "# Configuration options related to the preprocessor \n"; t << "#---------------------------------------------------------------------------\n"; if (!sl) |