From ad4120afce8c7bc4001fc0173a0ff7611ec0198d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 12 Dec 2015 13:46:07 +0200 Subject: Implement installation of prerequisite shared libraries --- build/target | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'build/target') 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 (); } -- cgit v1.1