aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-05 11:44:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-05 16:26:15 +0300
commite0002617846755fb5f199f40a677e16d6f69e5ec (patch)
treea706593fb3a7d28826a1fc62477a1298254a217e
parentbdb0033d74e27ffe3d67a727607efef5960fa8e4 (diff)
Align with latest bdep-new
-rw-r--r--build2/buildfile27
1 files changed, 16 insertions, 11 deletions
diff --git a/build2/buildfile b/build2/buildfile
index 05fdac5..bd730c3 100644
--- a/build2/buildfile
+++ b/build2/buildfile
@@ -5,7 +5,7 @@
import libs = libbutl%lib{butl}
import libs += libpkgconf%lib{pkgconf}
-exe{b}: cxx{b} libue{b}
+exe{b}: cxx{b} libue{b}
libue{b}: {hxx ixx txx cxx}{** -b -b-options -config -version} \
{hxx ixx cxx}{b-options} {hxx}{config version} \
@@ -14,6 +14,8 @@ libue{b}: {hxx ixx txx cxx}{** -b -b-options -config -version} \
hxx{config}: in{config}
hxx{version}: in{version} $src_root/manifest
+# Build options.
+#
# Pass our compiler target to be used as build2 host.
#
obj{b context}: cxx.poptions += -DBUILD2_HOST_TRIPLET=\"$cxx.target\"
@@ -63,15 +65,18 @@ if $cli.configured
cli.options += --suppress-undocumented --long-usage --ansi-color \
--page-usage 'build2::print_$name$_' --option-length 20
- # Include the generated cli files into the distribution and don't remove
- # 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{*}:
+ {
+ # Include the generated cli files into the distribution and don't remove
+ # them when cleaning in src (so that clean results in a state identical to
+ # distributed).
+ #
+ dist = true
+ clean = ($src_root != $out_root)
- # We keep the generated code in the repository so copy it back to src in
- # case of a forwarded configuration.
- #
- cli.cxx{*}: backlink = overwrite
+ # We keep the generated code in the repository so copy it back to src in
+ # case of a forwarded configuration.
+ #
+ backlink = overwrite
+ }
}