diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-30 09:36:55 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-30 09:36:55 (GMT) |
commit | 4ae47ae6f238d465eefa1b5a85c0cf3f7857bc57 (patch) | |
tree | 82d3a308c856cd7380fa8671bd2fe861d667bf7c /src/configgen.py | |
parent | d24fde41af551a2e6b2592e0b4084b6f449abf83 (diff) | |
download | Doxygen-4ae47ae6f238d465eefa1b5a85c0cf3f7857bc57.zip Doxygen-4ae47ae6f238d465eefa1b5a85c0cf3f7857bc57.tar.gz Doxygen-4ae47ae6f238d465eefa1b5a85c0cf3f7857bc57.tar.bz2 |
Added configuration options to better control the sqlite3 output.
Still requires cmake -Duse_sqlite=YES to compile in support (and
libsqlite3)
New configuration options available:
- GENERATE_SQLITE3 enable/disable SQLITE3 output
- SQLITE3_OUTPUT configure directory where output is written to
(default: sqlite3)
- SQLITE3_RECREATE_DB controls if existing database file is overwritten
(default: YES)
Diffstat (limited to 'src/configgen.py')
-rwxr-xr-x | src/configgen.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/configgen.py b/src/configgen.py index 89eff6d..4ffa8f8 100755 --- a/src/configgen.py +++ b/src/configgen.py @@ -345,6 +345,9 @@ def parseOption(node): def parseGroups(node): name = node.getAttribute('name') doc = node.getAttribute('docs') + setting = node.getAttribute('setting') + if len(setting) > 0: + print("#if %s" % (setting)) print("%s%s" % (" //-----------------------------------------", "----------------------------------")) print(" cfg->addInfo(\"%s\",\"%s\");" % (name, doc)) @@ -354,6 +357,8 @@ def parseGroups(node): for n in node.childNodes: if n.nodeType == Node.ELEMENT_NODE: parseOption(n) + if len(setting) > 0: + print("#endif") def parseGroupMapGetter(node): |