aboutsummaryrefslogtreecommitdiff
path: root/bpkg/buildfile
diff options
context:
space:
mode:
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)
+ }
}