summaryrefslogtreecommitdiffstats
path: root/src/configoptions.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-05-12 13:04:34 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-05-12 13:04:34 (GMT)
commit8dc4ff6dd22b1603f33537ff03994cc63e658768 (patch)
tree97f0e23b93d45b7917d965e6d1bb70da6c61831a /src/configoptions.cpp
parentebf4b3641c9149eaf4468aa8df64e1c7517e5f0c (diff)
downloadDoxygen-8dc4ff6dd22b1603f33537ff03994cc63e658768.zip
Doxygen-8dc4ff6dd22b1603f33537ff03994cc63e658768.tar.gz
Doxygen-8dc4ff6dd22b1603f33537ff03994cc63e658768.tar.bz2
Release-1.8.3.1-20130512
Diffstat (limited to 'src/configoptions.cpp')
-rw-r--r--src/configoptions.cpp42
1 files changed, 15 insertions, 27 deletions
diff --git a/src/configoptions.cpp b/src/configoptions.cpp
index 327c883..1cb144d 100644
--- a/src/configoptions.cpp
+++ b/src/configoptions.cpp
@@ -463,33 +463,15 @@ void addConfigOptions(Config *cfg)
);
//----
ci = cfg->addInt(
- "SYMBOL_CACHE_SIZE",
- "The SYMBOL_CACHE_SIZE determines the size of the internal cache use to\n"
- "determine which symbols to keep in memory and which to flush to disk.\n"
- "When the cache is full, less often used symbols will be written to disk.\n"
- "For small to medium size projects (<1000 input files) the default value is\n"
- "probably good enough. For larger projects a too small cache size can cause\n"
- "doxygen to be busy swapping symbols to and from disk most of the time\n"
- "causing a significant performance penalty.\n"
- "If the system has enough physical memory increasing the cache will improve the\n"
- "performance by keeping more symbols in memory. Note that the value works on\n"
- "a logarithmic scale so increasing the size by one will roughly double the\n"
- "memory usage. The cache size is given by this formula:\n"
- "2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,\n"
- "corresponding to a cache size of 2^16 = 65536 symbols.",
- 0,9,0
- );
- //----
- ci = cfg->addInt(
"LOOKUP_CACHE_SIZE",
- "Similar to the SYMBOL_CACHE_SIZE the size of the symbol lookup cache can be\n"
- "set using LOOKUP_CACHE_SIZE. This cache is used to resolve symbols given\n"
- "their name and scope. Since this can be an expensive process and often the\n"
- "same symbol appear multiple times in the code, doxygen keeps a cache of\n"
- "pre-resolved symbols. If the cache is too small doxygen will become slower.\n"
- "If the cache is too large, memory is wasted. The cache size is given by this\n"
- "formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range is 0..9, the default is 0,\n"
- "corresponding to a cache size of 2^16 = 65536 symbols.",
+ "The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This\n"
+ "cache is used to resolve symbols given their name and scope. Since this can\n"
+ "be an expensive process and often the same symbol appear multiple times in\n"
+ "the code, doxygen keeps a cache of pre-resolved symbols. If the cache is too\n"
+ "small doxygen will become slower. If the cache is too large, memory is wasted.\n"
+ "The cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid\n"
+ "range is 0..9, the default is 0, corresponding to a cache size of 2^16 = 65536\n"
+ "symbols.",
0,9,0
);
//---------------------------------------------------------------------------
@@ -1161,6 +1143,8 @@ void addConfigOptions(Config *cfg)
"parser lacks the necessairy type information.",
FALSE
);
+#else
+ cfg->addDisabled("CLANG_ASSISTED_PARSING");
#endif
#if USE_LIBCLANG
//----
@@ -1172,6 +1156,8 @@ void addConfigOptions(Config *cfg)
"specified at INPUT and INCLUDE_PATH."
);
cs->addDependency("CLANG_ASSISTED_PARSING");
+#else
+ cfg->addDisabled("CLANG_OPTIONS");
#endif
//---------------------------------------------------------------------------
cfg->addInfo("Index","configuration options related to the alphabetical class index");
@@ -2085,7 +2071,7 @@ void addConfigOptions(Config *cfg)
);
cb->addDependency("GENERATE_XML");
//---------------------------------------------------------------------------
- cfg->addInfo("DOCBOOK","configuration options related to the DOCBOOK output");
+ cfg->addInfo("Docbook","configuration options related to the DOCBOOK output");
//---------------------------------------------------------------------------
//----
@@ -2658,4 +2644,6 @@ void addConfigOptions(Config *cfg)
cfg->addObsolete("SHOW_DIRECTORIES");
//----
cfg->addObsolete("HTML_ALIGN_MEMBERS");
+ //----
+ cfg->addObsolete("SYMBOL_CACHE_SIZE");
}