aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-05 12:43:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-05 12:43:00 +0300
commitd741672530db9e521180ae59fa1194cd95252f09 (patch)
tree6f424ab58895c1677c1eaf80f731b05f09c3c2c2
parent81d4e44156c85c6544b82fdfa882ec3d242f9b94 (diff)
Align with latest bdep-new
-rw-r--r--bdep/buildfile11
1 files changed, 9 insertions, 2 deletions
diff --git a/bdep/buildfile b/bdep/buildfile
index 2b8bcf1..9734c22 100644
--- a/bdep/buildfile
+++ b/bdep/buildfile
@@ -46,6 +46,8 @@ exe{bdep}: \
hxx{version}: in{version} $src_root/manifest
+# Build options.
+#
obj{utility}: cxx.poptions += -DBDEP_EXE_SUFFIX='"'$bin.exe.suffix'"'
# For now assume this is a staged toolchain if we are building with the staged
@@ -61,6 +63,8 @@ if ($cxx.class == 'msvc')
elif ($cxx.class == 'gcc')
cxx.coptions += -Wno-unknown-pragmas
+# Generated options parser.
+#
if $cli.configured
{
# General topics and common options.
@@ -116,6 +120,9 @@ if $cli.configured
# 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)
+ }
}