aboutsummaryrefslogtreecommitdiff
path: root/build2/config
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-30 15:30:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-30 15:30:39 +0200
commite879c347f4f05dac5405bcc45ae2d5c9dde5447c (patch)
tree8ad9956bf66a3b28c9628608e8b9c9787e2c34a5 /build2/config
parentdee70af1d3b6ca4caf1027b79eb471b28624fff8 (diff)
Add support for target visibility, use for dist, test, install
This means we can no longer write: install = false Now it should be: *: install = false
Diffstat (limited to 'build2/config')
-rw-r--r--build2/config/operation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/config/operation.cxx b/build2/config/operation.cxx
index e6ab14a..78c63b1 100644
--- a/build2/config/operation.cxx
+++ b/build2/config/operation.cxx
@@ -187,7 +187,7 @@ namespace build2
// something is broken.
//
if (r == nullptr)
- fail (loc) << "inherited variable " << var.name << " value "
+ fail (loc) << "inherited variable " << var << " value "
<< "is not from a root scope";
// If none of the outer project's configurations use this value,
@@ -198,7 +198,7 @@ namespace build2
{
diag_record dr;
dr << warn (loc) << "saving previously inherited variable "
- << var.name;
+ << var;
dr << info (loc) << "because project " << r->out_path ()
<< " no longer uses it in its configuration";