From e879c347f4f05dac5405bcc45ae2d5c9dde5447c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 30 Aug 2016 15:30:39 +0200 Subject: 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 --- build2/dist/init.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'build2/dist') diff --git a/build2/dist/init.cxx b/build2/dist/init.cxx index 338f6c8..2bf26e0 100644 --- a/build2/dist/init.cxx +++ b/build2/dist/init.cxx @@ -49,8 +49,11 @@ namespace build2 v.insert ("dist.cmd"); v.insert ("dist.archives"); - v.insert ("dist"); // Flag. - v.insert ("dist.package"); // Project's package name. + v.insert ("dist", variable_visibility::target); // Flag. + + // Project's package name. + // + v.insert ("dist.package", variable_visibility::project); } } -- cgit v1.1