aboutsummaryrefslogtreecommitdiff
path: root/build2/search.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-05-15 07:57:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-05-15 07:57:45 +0200
commit33111a31562f364e496b8c8bba47693babecdbc0 (patch)
tree8a9b1f10f82e839d54760d9440f101e403c69ae4 /build2/search.cxx
parent6be7ff595009179fc46c2a22289cea8bf11e3feb (diff)
Add ability to depend on (declared) ad hoc group member
Diffstat (limited to 'build2/search.cxx')
-rw-r--r--build2/search.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/build2/search.cxx b/build2/search.cxx
index 7683ef6..68fd5a5 100644
--- a/build2/search.cxx
+++ b/build2/search.cxx
@@ -228,9 +228,13 @@ namespace build2
//
// @@ OUT: same story as in search_existing_target() re out.
//
- auto r (
- targets.insert (
- *tk.type, move (d), *tk.out, *tk.name, tk.ext, true, trace));
+ auto r (targets.insert (*tk.type,
+ move (d),
+ *tk.out,
+ *tk.name,
+ tk.ext,
+ true /* implied */,
+ trace));
const target& t (r.first);
l5 ([&]{trace << (r.second ? "new" : "existing") << " target " << t