diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-09-29 08:55:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-09-29 08:55:34 +0200 |
commit | f63c0548281015ca1f7d71079c0880e3634063fb (patch) | |
tree | cb5cf0690e9d979c7fb98455f6a3320c7f0f53eb /libbuild2/target.hxx | |
parent | 41273da120ef8e4a2bed7576de0532264b042ee1 (diff) |
Add notion of bundle amalgamation scope
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r-- | libbuild2/target.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
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. // |