diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-02-16 07:59:36 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-02-16 17:24:52 -0300 |
commit | 8c9f9660f04d1c5e462f6a815329bffa90327618 (patch) | |
tree | 9f2e3f046511fddb6eca94a46a994bb37a1d7e11 /main.cpp | |
parent | c4f21744c7148f7cbb593f8bfe3cdd524abd912b (diff) |
Added the "--drop-type-entries=<entries>" command line option.sb-0.6.6
The documentation was updates on this and older things.
Reviewed by Bruno Araújo <bruno.araujo@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -181,6 +181,7 @@ void printUsage(const GeneratorList& generators) generalOptions.insert("version", "Output version information and exit"); generalOptions.insert("generator-set=<\"generator module\">", "generator-set to be used. e.g. qtdoc"); generalOptions.insert("api-version=<\"version\">", "Specify the supported api version used to generate the bindings"); + generalOptions.insert("drop-type-entries=\"<TypeEntry0>[;TypeEntry1;...]\"", "Semicolon separated list of type system entries (classes, namespaces, global functions and enums) to be dropped from generation."); printOptions(s, generalOptions); foreach (Generator* generator, generators) { @@ -296,6 +297,9 @@ int main(int argc, char *argv[]) if (args.contains("api-version")) extractor.setApiVersion(args["api-version"].toDouble()); + if (args.contains("drop-type-entries")) + extractor.setDropTypeEntries(args["drop-type-entries"]); + if (args.contains("typesystem-paths")) extractor.addTypesystemSearchPath(args.value("typesystem-paths").split(PATH_SPLITTER)); if (!args.value("include-paths").isEmpty()) |