From f63c0548281015ca1f7d71079c0880e3634063fb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 29 Sep 2021 08:55:34 +0200 Subject: Add notion of bundle amalgamation scope --- libbuild2/target.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbuild2/target.hxx') diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx index 5f0165e..1c10621 100644 --- a/libbuild2/target.hxx +++ b/libbuild2/target.hxx @@ -337,6 +337,12 @@ namespace build2 const scope& root_scope () const; + // Root scope of a bundle amalgamation that contains this target. The + // same notes as to root_scope() apply. + // + const scope& + bundle_scope () const {return *root_scope ().bundle_scope ();} + // Root scope of a strong amalgamation that contains this target. // The same notes as to root_scope() apply. // -- cgit v1.1