aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-16 21:06:47 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-17 12:33:14 +0300
commit3712363ddf1be71b38321d2dde57d88f01a28afb (patch)
tree11dcf6ce5ee9bc73a2e1cf9c3324f82b9ed8a96f /libbuild2
parentf3bb99ce65da4a97ceb422eb36a34dab1130f73f (diff)
Add '--std c++11' CLI option in buildfiles
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/buildfile2
1 files changed, 1 insertions, 1 deletions
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