aboutsummaryrefslogtreecommitdiff
path: root/odb/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-02-23 10:47:16 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-02-23 10:47:16 +0200
commitbb811b27cffbeb4c24d9d3f2e739f99eab8299ec (patch)
tree28aec7f2dd521cca2ed34ddacf344cf0aa89c474 /odb/options.cli
parent3a1eed21d4d5d0e7f6a9f400420fdc28d7be9b61 (diff)
Add --std option that allows selecting between C++98 and C++11
Diffstat (limited to 'odb/options.cli')
-rw-r--r--odb/options.cli11
1 files changed, 11 insertions, 0 deletions
diff --git a/odb/options.cli b/odb/options.cli
index 8f2bc56..f501315 100644
--- a/odb/options.cli
+++ b/odb/options.cli
@@ -164,6 +164,17 @@ class options
then you should include it into the prefix value."
};
+ // Language.
+ //
+ cxx_version --std = cxx_version::cxx98
+ {
+ "<version>",
+ "Specify the C++ standard that should be used during compilation.
+ Valid values are \cb{c++98} (default) and \cb{c++11}."
+ };
+
+ // Output.
+ //
std::string --output-dir | -o
{
"<dir>",