From 0db17bfec8b3b6c436f3c9c346d17d98458c3654 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Aug 2015 13:10:28 +0200 Subject: match_only and dependents count rework, part 1 --- build/algorithm.ixx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build/algorithm.ixx') diff --git a/build/algorithm.ixx b/build/algorithm.ixx index 26761bf..ce581c5 100644 --- a/build/algorithm.ixx +++ b/build/algorithm.ixx @@ -62,6 +62,13 @@ namespace build t.dependents++; } + inline void + match_only (action a, target& t) + { + if (!t.recipe (a)) + match_impl (a, t, false); + } + inline std::pair match_delegate (action a, target& t) { -- cgit v1.1