aboutsummaryrefslogtreecommitdiff
path: root/build2/search.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-23 08:21:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-23 08:21:53 +0200
commit91495e646c688eade6b46f21bb40e3da8b8d6f1a (patch)
tree6cfafe23d2ca8a3d2c889961c8df0fffc128c4f7 /build2/search.cxx
parent699e3bc87d1cbb3c2b19ddaf5db37909cb49f47b (diff)
Implement automatic loading of directory buildfiles
Now instead of explicitly writing: d = foo/ bar/ ./: $d include $d We can (usually) just write: ./: foo/ bar/
Diffstat (limited to 'build2/search.cxx')
-rw-r--r--build2/search.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/search.cxx b/build2/search.cxx
index 50318a7..ef4814d 100644
--- a/build2/search.cxx
+++ b/build2/search.cxx
@@ -159,7 +159,7 @@ namespace build2
// Find or insert. Note that we are using our updated extension.
//
auto r (targets.insert (
- *tk.type, move (d), move (out), *tk.name, ext, trace));
+ *tk.type, move (d), move (out), *tk.name, ext, false, trace));
// Has to be a file_target.
//
@@ -203,7 +203,7 @@ 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, trace));
+ *tk.type, move (d), *tk.out, *tk.name, tk.ext, false, trace));
assert (r.second);
target& t (r.first);