// file : odb/options.cli // author : Boris Kolpackov // copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file include ; include ; class options { // // Wrapper options. These are not passed to the plugin. // bool --help {"Print usage information and exit."}; bool --version {"Print version and exit."}; // // Plugin options. // std::string --output-dir | -o { "", "Write the generated files to instead of the current directory." }; std::string --odb-file-suffix = "-odb" { "", "Use instead of the default \cb{-odb} to construct the names of the generated ODB files." }; std::string --hxx-suffix = ".hxx" { "", "Use instead of the default \cb{.hxx} to construct the name of the generated header file." }; std::string --ixx-suffix = ".ixx" { "", "Use instead of the default \cb{.ixx} to construct the name of the generated inline file." }; std::string --cxx-suffix = ".cxx" { "", "Use instead of the default \cb{.cxx} to construct the name of the generated source file." }; bool --include-with-brackets { "Use angle brackets (<>) instead of quotes (\"\") in the generated \cb{#include} directives." }; std::string --include-prefix { "", "Add to the generated \cb{#include} directive paths." }; bool --trace {"Trace the compilation process."}; // This is a "fake" option in that it is actually handled by // argv_file_scanner. We have it here to get the documentation. // std::string --options-file { "", "Read additional options from with each option appearing on a separate line optionally followed by space and an option value. Empty lines and lines starting with \cb{#} are ignored. The semantics of providing options in a file is equivalent to providing the same set of options in the same order on the command line at the point where the \cb{--options-file} option is specified except that shell escaping and quoting is not required. Repeat this option to specify more than one options files." }; };