diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-12 13:46:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-12 13:46:07 +0200 |
commit | ad4120afce8c7bc4001fc0173a0ff7611ec0198d (patch) | |
tree | ebbc31d03feda96560df437247b63206489a1139 /build/target | |
parent | dd4a389117812f0d3b45473d87214d67d0cb4a3a (diff) |
Implement installation of prerequisite shared libraries
Diffstat (limited to 'build/target')
-rw-r--r-- | build/target | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build/target b/build/target index 69f8f4f..22b5e89 100644 --- a/build/target +++ b/build/target @@ -229,6 +229,12 @@ namespace build scope& strong_scope () const {return *root_scope ().strong_scope ();} + // Root scope of the outermost amalgamation that contains this target. + // The same notes as to root_scope() apply. + // + scope& + weak_scope () const {return *root_scope ().weak_scope ();} + bool in (const scope& s) const @@ -517,7 +523,7 @@ namespace build key () const { return target != nullptr - ? prerequisite_key {&prerequisite.get ().proj, target->key (), nullptr} + ? prerequisite_key {prerequisite.get ().proj, target->key (), nullptr} : prerequisite.get ().key (); } |