aboutsummaryrefslogtreecommitdiff
path: root/build/target
diff options
context:
space:
mode:
Diffstat (limited to 'build/target')
-rw-r--r--build/target7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/target b/build/target
index ba51f5e..1015b0c 100644
--- a/build/target
+++ b/build/target
@@ -21,6 +21,7 @@
#include <butl/multi-index> // map_iterator_adapter
#include <build/types>
+#include <build/scope>
#include <build/variable>
#include <build/operation>
#include <build/target-type>
@@ -203,6 +204,12 @@ namespace build
scope&
root_scope () const;
+ // Root scope of a strong amalgamation that contains this target.
+ // The same notes as to root_scope() apply.
+ //
+ scope&
+ strong_scope () const {return *root_scope ().strong_scope ();}
+
// Prerequisites.
//
public: