From 91495e646c688eade6b46f21bb40e3da8b8d6f1a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 23 Jan 2017 08:21:53 +0200 Subject: Implement automatic loading of directory buildfiles Now instead of explicitly writing: d = foo/ bar/ ./: $d include $d We can (usually) just write: ./: foo/ bar/ --- build2/search.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/search.cxx') 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); -- cgit v1.1