aboutsummaryrefslogtreecommitdiff
path: root/bpkg/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-05 12:00:30 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-05 22:45:38 +0300
commita6107af416eb1c62e55d847368ed07697229a1f6 (patch)
tree8acb6fc2925dfa146c91c2b7c3df222e288e8f65 /bpkg/buildfile
parent1bfd8199a5b563cb9f45b789a5108d71c1eebb7e (diff)
Align with latest bdep-new
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r--bpkg/buildfile11
1 files changed, 9 insertions, 2 deletions
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)
+ }
}