summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-01-23 17:25:30 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2011-01-23 17:25:30 (GMT)
commite3867f798e35c06c2208899f9c0bc264d8e6cb83 (patch)
tree56f084a80118debb8b5569e59a7435a20fc82b03 /src/config.l
parent38de39f102c03a52de4c9bb4875125745abce622 (diff)
downloadDoxygen-e3867f798e35c06c2208899f9c0bc264d8e6cb83.zip
Doxygen-e3867f798e35c06c2208899f9c0bc264d8e6cb83.tar.gz
Doxygen-e3867f798e35c06c2208899f9c0bc264d8e6cb83.tar.bz2
Release-1.7.3-20110123
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/config.l b/src/config.l
index 30ed8dc..99f9aac 100644
--- a/src/config.l
+++ b/src/config.l
@@ -2,7 +2,7 @@
*
*
*
- * Copyright (C) 1997-2010 by Dimitri van Heesch.
+ * Copyright (C) 1997-2011 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -1186,6 +1186,18 @@ void Config::check()
s=aliasList.next();
}
+ // check if GENERATE_TREEVIEW and GENERATE_HTMLHELP are both enabled
+ if (Config_getBool("GENERATE_TREEVIEW") && Config_getBool("GENERATE_HTMLHELP"))
+ {
+ config_err("When enabling GENERATE_HTMLHELP the tree view (GENERATE_TREEVIEW) should be disabled. I'll do it for you.\n");
+ Config_getBool("GENERATE_TREEVIEW")=FALSE;
+ }
+ if (Config_getBool("SEARCHENGINE") && Config_getBool("GENERATE_HTMLHELP"))
+ {
+ config_err("When enabling GENERATE_HTMLHELP the search engine (SEARCHENGINE) should be disabled. I'll do it for you.\n");
+ Config_getBool("SEARCHENGINE")=FALSE;
+ }
+
// check dot image format
QCString &dotImageFormat=Config_getEnum("DOT_IMAGE_FORMAT");
dotImageFormat=dotImageFormat.stripWhiteSpace();