aboutsummaryrefslogtreecommitdiff
path: root/xsd/cxx/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-07-04 11:30:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-07-04 11:30:43 +0200
commit9d4a4dd3aedc0b30a55e4013b18cdb6439a9b422 (patch)
treef8c7d26ac758200731bc0c0742078b801bbd17b9 /xsd/cxx/options.cli
parent612b94596ad38263464c27da26a7186e7c22cca9 (diff)
Add --std option that specified C++ standard
Diffstat (limited to 'xsd/cxx/options.cli')
-rw-r--r--xsd/cxx/options.cli11
1 files changed, 11 insertions, 0 deletions
diff --git a/xsd/cxx/options.cli b/xsd/cxx/options.cli
index e1b48e9..2203188 100644
--- a/xsd/cxx/options.cli
+++ b/xsd/cxx/options.cli
@@ -7,12 +7,23 @@ include <cstddef>; // std::size_t
include <types.hxx>; // NarrowString, NarrowStrings
+include <cxx/option-types.hxx>;
+
include <options.cli>;
namespace CXX
{
class options: ::options = 0
{
+ // Language.
+ //
+ cxx_version --std = cxx_version::cxx98
+ {
+ "<version>",
+ "Specify the C++ standard that the generated code should conform to.
+ Valid values are \cb{c++98} (default) and \cb{c++11}."
+ };
+
// Character type and encoding.
//
NarrowString --char-type = "char"