diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-15 18:57:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-15 18:57:31 +0200 |
commit | 371c1d7c695bec8d0ecc76f887f4fd6798eb7683 (patch) | |
tree | 882097b164c72191b9b3ce1bd95ca52a35e099d6 | |
parent | 8f9b4402eb66c3fe3c988ff7bb2ec5b159c422ce (diff) |
Document -I, -D, -U, -x, and -v options
-rw-r--r-- | odb/options.cli | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/odb/options.cli b/odb/options.cli index efa8a92..4abfc84 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -18,6 +18,30 @@ class options bool --version {"Print version and exit."}; // + // C++ preprocessor options. Also not passed to the plugin. + // + std::vector<std::string> -I + { + "<dir>", + "Add <dir> to the beginning of the list of directories to be searched + for included header files." + }; + + std::vector<std::string> -D + { + "<name>[=<def>]", + "Define macro <name> with definition <def>. If definition is omitted, + define <name> to be 1." + }; + + std::vector<std::string> -U + { + "<name>", + "Cancel any previous definitions of macro <name>, either built-in or + provided with the \cb{-D} option." + }; + + // // Plugin options. // ::database --database | -d @@ -239,6 +263,16 @@ class options to specify more than one options file." }; + std::vector<std::string> -x + { + "<option>", + "Pass <option> to the underlying C++ compiler (\cb{g++}). The <option> + value that doesn't start with \cb{-} is considered the \cb{g++} + executable name." + }; + + bool -v {"Print the commands executed to run the stages of compilation."}; + bool --trace {"Trace the compilation process."}; // |