From f98262e37f608330fcfce799dcacc6fbacac8f8a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 23 Apr 2018 14:25:58 +0200 Subject: Implement forwarded configurations and backlinking --- build2/algorithm.ixx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'build2/algorithm.ixx') diff --git a/build2/algorithm.ixx b/build2/algorithm.ixx index 7572548..12dc2da 100644 --- a/build2/algorithm.ixx +++ b/build2/algorithm.ixx @@ -240,6 +240,20 @@ namespace build2 return r; } + inline target_lock + add_adhoc_member (action a, target& t, const target_type& tt, const char* s) + { + string n (t.name); + + if (s != nullptr) + { + n += '.'; + n += s; + } + + return add_adhoc_member (a, t, tt, t.dir, t.out, n); + } + const rule_match* match_impl (action, target&, const rule* skip, bool try_match = false); -- cgit v1.1