summaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-03 15:47:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-03 15:47:47 +0200
commit2152522277ee38633df5f36ac93d3ea5cf316c32 (patch)
tree6066584c33c5416b0ce523913eda0292e7f170f5 /build/root.build
parent93df04a720c61edc85f1392e891196a1397288ae (diff)
Rework build2 cli compilation
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build10
1 files changed, 2 insertions, 8 deletions
diff --git a/build/root.build b/build/root.build
index 719b1b8..ee1272a 100644
--- a/build/root.build
+++ b/build/root.build
@@ -16,17 +16,11 @@ cxx.poptions =+ "-I$out_root" "-I$src_root"
# Load the cli module but only if it's available. This way a distribution
# that includes pre-generated files can be built without installing cli.
# This is also the reason why we need to explicitly spell out individual
-# source files instead of using the cli.cxx{} group (it won't be there
-# unless the module is configured).
+# source file prerequisites instead of using the cli.cxx{} group (it won't
+# be there unless the module is configured).
#
using? cli
-if! $cli.configured
-{
- define cli: file
- cli{*}: extension = cli
-}
-
# Specify the test target for cross-testing.
#
test.target = $cxx.target