From c0931400a1c5f02cf145c90fd7e34216836efd88 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 12 Sep 2012 14:28:03 +0200 Subject: Implement --output-name, --generate-schema-only, and --at-once options --- odb/options.cli | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'odb/options.cli') diff --git a/odb/options.cli b/odb/options.cli index 8705283..e9d76dd 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -81,6 +81,13 @@ class options Use the \cb{--schema-format} option to alter the default schema format." }; + bool --generate-schema-only + { + "Generate only the database schema. Note that this option is only valid + when generating schema as a standalone SQL file (see \cb{--schema-format} + for details)." + }; + std::set< ::schema_format> --schema-format { "", @@ -156,6 +163,18 @@ class options profile." }; + bool --at-once + { + "Generate code for all the input files as well as for all the files that + they include at once. The result is a single set of source/schema files + that contain all the generated code. If more than one input file is + specified together with this option, then the \cb{--output-name} option + must also be specified in order to provide the base name for the output + files. In this case, the directory part of such a base name is used as + the location of the combined file. This can be important for the + \cb{#include} directive resolution." + }; + qname --schema { "", @@ -193,6 +212,13 @@ class options "Write the generated files to instead of the current directory." }; + std::string --output-name + { + "", + "Use instead of the input file to construct the names of the + generated files." + }; + std::string --odb-file-suffix = "-odb" { "", -- cgit v1.1