diff options
-rw-r--r-- | build2/buildfile | 5 | ||||
-rw-r--r-- | libbuild2/buildfile | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/build2/buildfile b/build2/buildfile index 57c2561..d3b937f 100644 --- a/build2/buildfile +++ b/build2/buildfile @@ -86,8 +86,9 @@ if $cli.configured { cli.cxx{b-options}: cli{b} - cli.options += -I $src_root --include-with-brackets --include-prefix build2 \ ---guard-prefix BUILD2 --cxx-prologue "#include <build2/types-parsers.hxx>" \ + cli.options += --std c++11 -I $src_root --include-with-brackets \ +--include-prefix build2 --guard-prefix BUILD2 \ +--cxx-prologue "#include <build2/types-parsers.hxx>" \ --cli-namespace build2::cl --generate-file-scanner --keep-separator \ --generate-parse --generate-specifier diff --git a/libbuild2/buildfile b/libbuild2/buildfile index 377ea30..6539a01 100644 --- a/libbuild2/buildfile +++ b/libbuild2/buildfile @@ -97,7 +97,7 @@ test/script/ { cli.cxx{builtin-options}: cli{builtin} - cli.options += -I $src_root --include-with-brackets \ + cli.options += --std c++11 -I $src_root --include-with-brackets \ --include-prefix libbuild2/test/script --guard-prefix LIBBUILD2_TEST_SCRIPT \ --cli-namespace build2::test::script::cli --generate-vector-scanner \ --generate-specifier --suppress-usage |