From 9498585efc6e92eabca596d2ecbb78ffb343bca2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 28 Apr 2020 07:29:11 +0200 Subject: Factor recipe to separate header/source files --- libbuild2/algorithm.hxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'libbuild2/algorithm.hxx') diff --git a/libbuild2/algorithm.hxx b/libbuild2/algorithm.hxx index ad4ee74..390516a 100644 --- a/libbuild2/algorithm.hxx +++ b/libbuild2/algorithm.hxx @@ -10,6 +10,7 @@ #include #include +#include #include @@ -673,12 +674,18 @@ namespace build2 LIBBUILD2_SYMEXPORT target_state noop_action (action, const target&); - // Default action implementation which forwards to the prerequisites. - // Use default_recipe instead of using this function directly. + // Default action implementation which forwards to the prerequisites. Use + // default_recipe instead of using this function directly. // LIBBUILD2_SYMEXPORT target_state default_action (action, const target&); + // Group action which calls the group's recipe. Use group_recipe instead of + // using this function directly. + // + LIBBUILD2_SYMEXPORT target_state + group_action (action, const target&); + // Standard perform(clean) action implementation for the file target // (or derived). // -- cgit v1.1