From 95e1161d9907b08d52db01310779b6fa19c9b6f3 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 16 Aug 2019 12:16:03 +0300 Subject: Add '--std c++11' CLI option in buildfile --- bpkg/buildfile | 13 +++++++------ 1 file 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 " \ ---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 " --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 -- cgit v1.1