From a6107af416eb1c62e55d847368ed07697229a1f6 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 5 Mar 2019 12:00:30 +0300 Subject: Align with latest bdep-new --- bpkg/buildfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'bpkg/buildfile') diff --git a/bpkg/buildfile b/bpkg/buildfile index b561ce6..fb98007 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -52,6 +52,8 @@ exe{bpkg}: \ hxx{version}: in{version} $src_root/manifest +# Build options. +# # Disable "unknown pragma" warnings. # if ($cxx.class == 'msvc') @@ -66,6 +68,8 @@ if ($cxx.id == 'msvc' && $cxx.version.major == 19 && $cxx.version.minor < 10) obj{utility}: cxx.poptions += -DBPKG_EXE_SUFFIX='"'$bin.exe.suffix'"' +# Generated options parser. +# if $cli.configured { # General topics and common options. @@ -141,6 +145,9 @@ bpkg::pkg_build_pkg_options=exclude-base --generate-modifier # them when cleaning in src (so that clean results in a state identical to # distributed). # - cli.cxx{*}: dist = true - cli.cxx{*}: clean = ($src_root != $out_root) + cli.cxx{*}: + { + dist = true + clean = ($src_root != $out_root) + } } -- cgit v1.1