diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-27 16:59:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-27 16:59:09 +0200 |
commit | 41cad5bba8a718a0403c0578660c60e81c9f46e4 (patch) | |
tree | 7eebba42dac307fdfcf600f5f6527afe0c0f4fea /build2/target | |
parent | 34cc74df52ed129bffeb7b6fcf11f05c222550ba (diff) |
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}
Diffstat (limited to 'build2/target')
-rw-r--r-- | build2/target | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/target b/build2/target index 0205052..3207778 100644 --- a/build2/target +++ b/build2/target @@ -383,13 +383,13 @@ namespace build2 // Return a value suitable for assignment. See scope for details. // value& - assign (const variable& var) {return vars.assign (var).first;} + assign (const variable& var) {return vars.assign (var);} value& - assign (const string& name) {return vars.assign (name).first;} + 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 <typename T> value& |