summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/bootstrap.build7
-rw-r--r--buildfile4
2 files changed, 9 insertions, 2 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build
index 7c5dd61..efa4115 100644
--- a/build/bootstrap.build
+++ b/build/bootstrap.build
@@ -14,7 +14,14 @@ dist.package = $project-$version
if ($revision != 0)
dist.package += +$revision
+# By default leave the cli module unconfigured since we don't want to use some
+# system-installed cli. Note that this value will be overridden if set both on
+# the command line or in config.build.
+#
+config.cli = false
+
using config
+
using dist
using test
using install
diff --git a/buildfile b/buildfile
index 2cf31c3..5fe5693 100644
--- a/buildfile
+++ b/buildfile
@@ -11,8 +11,8 @@ d = cli/ unit-tests/
# compiler and test the installation with out-of-tree builds of tests/ and
# examples/.
#
-# @@ A problem with this approach is an old cli compiler installed in the
-# system -- it will be used for the project including tests and examples.
+# Note that to make sure we don't pick up some system-installed cli, we
+# default (in bootstrap.build) to leaving the cli module unconfigured.
#
if $cli.configured
d += tests/ examples/