+REM Defaults for settings controlled by this script\r
+set GENERATE_DOCSET=NO\r
+set GENERATE_HTML=NO\r
+set GENERATE_HTMLHELP=NO\r
+set GENERATE_LATEX=NO\r
+set GENERATE_QHP=NO\r
+set GENERATE_XML=NO\r
+set SEARCHENGINE=NO\r
+set SERVER_BASED_SEARCH=NO\r
+\r
+IF "%1" == "all" (\r
+ set GENERATE_HTML=YES\r
+ set GENERATE_HTMLHELP=YES\r
+ set GENERATE_XML=YES\r
+) ELSE (\r
+ IF "%1" == "chm" (\r
+ set GENERATE_HTML=YES\r
+ set GENERATE_HTMLHELP=YES\r
+ ) ELSE (\r
+ IF "%1" == "docset" (\r
+ set GENERATE_DOCSET=YES\r
+ set GENERATE_HTML=YES\r
+ ) ELSE (\r
+ IF "%1" == "latex" (\r
+ set GENERATE_LATEX=YES\r
+ ) ELSE (\r
+ IF "%1" == "php" (\r
+ set GENERATE_HTML=YES\r
+ set SEARCHENGINE=YES\r
+ set SERVER_BASED_SEARCH=YES\r
+ ) ELSE (\r
+ IF "%1" == "qch" (\r
+ set GENERATE_HTML=YES\r
+ set GENERATE_QHP=YES\r
+ ) ELSE (\r
+ IF "%1" == "xml" (\r
+ set GENERATE_XML=YES\r
+ ) ELSE (\r
+ REM Default to HTML format.\r
+ set GENERATE_HTML=YES\r
+ set SEARCHENGINE=YES\r
+ )\r
+ )\r
+ )\r
+ )\r
+ )\r
+ )\r
+)\r
+\r