aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'build/algorithm.ixx')
-rw-r--r--build/algorithm.ixx7
1 files changed, 7 insertions, 0 deletions
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<recipe, action>
match_delegate (action a, target& t)
{