From 378b2598a305d4e332e52460ca89dd867546a58b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 7 Feb 2018 10:00:46 +0200 Subject: Initial work for default update outer operation While update still uses the old "all update rules update all their prerequisites" assumption, test and install have been fixed not to rely on this. --- build2/bin/init.cxx | 2 ++ build2/bin/rule.cxx | 2 ++ 2 files changed, 4 insertions(+) (limited to 'build2/bin') diff --git a/build2/bin/init.cxx b/build2/bin/init.cxx index 565936f..e7509d3 100644 --- a/build2/bin/init.cxx +++ b/build2/bin/init.cxx @@ -462,6 +462,8 @@ namespace build2 // Similar to alias. // + + //@@ outer r.insert (perform_id, 0, "bin.lib", lib_); r.insert (configure_id, 0, "bin.lib", lib_); diff --git a/build2/bin/rule.cxx b/build2/bin/rule.cxx index 79270c3..cde2d9a 100644 --- a/build2/bin/rule.cxx +++ b/build2/bin/rule.cxx @@ -65,6 +65,8 @@ namespace build2 { lib& t (xt.as ()); + //@@ outer: also prerequisites (if outer) or not? + const target* m[] = {t.a, t.s}; match_members (a, t, m); -- cgit v1.1