aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/scope.ixx')
-rw-r--r--libbuild2/scope.ixx7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbuild2/scope.ixx b/libbuild2/scope.ixx
index 14907d3..5ce0a73 100644
--- a/libbuild2/scope.ixx
+++ b/libbuild2/scope.ixx
@@ -52,6 +52,13 @@ namespace build2
return false;
}
+ inline target_key scope::
+ find_target_key (name& n, name& o, const location& loc) const
+ {
+ auto p (find_target_type (n, o, loc));
+ return target_key {&p.first, &n.dir, &o.dir, &n.value, move (p.second)};
+ }
+
inline dir_path
src_out (const dir_path& out, const scope& r)
{