aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-16 12:16:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-16 14:53:58 +0300
commit95e1161d9907b08d52db01310779b6fa19c9b6f3 (patch)
treeebd0107f286cf0a11c184afb9f02963f60c846ea
parented437dbd3483baa3d15d1d86d8f057d9112653b1 (diff)
Add '--std c++11' CLI option in buildfile
-rw-r--r--bpkg/buildfile13
1 files changed, 7 insertions, 6 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index be4a754..5275437 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -152,12 +152,13 @@ if $cli.configured
# Option length must be the same to get commands/topics/options aligned.
#
- cli.options += -I $src_root --include-with-brackets --include-prefix bpkg \
---guard-prefix BPKG --cxx-prologue "#include <bpkg/types-parsers.hxx>" \
---cli-namespace bpkg::cli --generate-vector-scanner --generate-file-scanner \
---generate-group-scanner --keep-separator --generate-specifier \
---generate-parse --generate-merge --page-usage 'bpkg::print_$name$_' \
---ansi-color --include-base-last --option-length 24
+ cli.options += --std c++11 -I $src_root --include-with-brackets \
+--include-prefix bpkg --guard-prefix BPKG \
+--cxx-prologue "#include <bpkg/types-parsers.hxx>" --cli-namespace bpkg::cli \
+--generate-vector-scanner --generate-file-scanner --generate-group-scanner \
+--keep-separator --generate-specifier --generate-parse --generate-merge \
+--page-usage 'bpkg::print_$name$_' --ansi-color --include-base-last \
+--option-length 24
cli.cxx{common-options}: cli.options += --short-usage --long-usage # Both.
cli.cxx{bpkg-options}: cli.options += --short-usage --suppress-undocumented