From 41cad5bba8a718a0403c0578660c60e81c9f46e4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 27 Jun 2016 16:59:09 +0200 Subject: Add config.bin.target var/hint, use to decide libso{} install mode Normally the user doesn't need to specify config.bin.target explicitly since the cxx module will hint it. We now also have the whole set of target's components: bin.target.{cpu,vendor,system,version,class} --- build2/scope | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build2/scope') diff --git a/build2/scope b/build2/scope index 3649aa1..b7c9aef 100644 --- a/build2/scope +++ b/build2/scope @@ -154,17 +154,17 @@ namespace build2 // is returned. // value& - assign (const variable& var) {return vars.assign (var).first.get ();} + assign (const variable& var) {return vars.assign (var);} value& - assign (const string& name) {return vars.assign (name).first.get ();} + assign (const string& name) {return vars.assign (name);} - // Unlike the two above, assign a non-overridable variable with normal - // visibility. + // Unlike the two above, assign a typed non-overridable variable with + // normal visibility. // template value& - assign (string name) {return vars.assign (move (name)).first.get ();} + assign (string name) {return vars.assign (move (name));} // Return a value suitable for appending. If the variable does not // exist in this scope's map, then outer scopes are searched for -- cgit v1.1