// file : cli/options.cli // author : Boris Kolpackov // copyright : Copyright (c) 2009 Code Synthesis Tools CC // license : MIT; see accompanying LICENSE file // NOTE: Make sure you have a working CLI compiler around // before modifying this file. // include ; include ; include ; include ; class options { bool --help {"Print usage information and exit."}; bool --version {"Print version and exit."}; std::string --output-dir | -o { "", "Write generated files to ." }; bool --suppress-inline { "Generate all functions non-inline." }; bool --suppress-usage { "Suppress generation of usage printing code." }; std::size_t --option-length = 0 { "", "Indent option description characters when printing usage." }; std::string --hxx-suffix = ".hxx" { "", "Use instead of the default '.hxx' to construct the name of the generated header file." }; std::string --ixx-suffix = ".ixx" { "", "Use instead of the default '.ixx' to construct the name of the generated inline file." }; std::string --cxx-suffix = ".cxx" { "", "Use instead of the default '.cxx' to construct the name of the generated source file." }; std::string --option-prefix = "-" { "", "Use instead of the default '-' as an option prefix." }; std::string --option-separator = "--" { "", "Use instead of the default '--' as an optional separator between options and arguments." }; bool --include-with-brackets { "Use angle brackets (<>) instead of quotes (\"\") in generated #include directives." }; std::string --include-prefix { "", "Add to generated #include directive paths." }; std::string --guard-prefix { "", "Add to generated header inclusion guards." }; std::map --reserved-name { "=", "Add to the list of names that should not be used as identifiers. The name can optionally be followed by '=' and the replacement name that should be used instead.", "" }; };