aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/algorithm.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-04-28 07:29:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-04-30 14:44:21 +0200
commit9498585efc6e92eabca596d2ecbb78ffb343bca2 (patch)
tree6cee37adc289643e37f7c5827490669a6e9e1dda /libbuild2/algorithm.hxx
parent68cc1badd2eb96fd1f89e8b6519d45039ff983ba (diff)
Factor recipe to separate header/source files
Diffstat (limited to 'libbuild2/algorithm.hxx')
-rw-r--r--libbuild2/algorithm.hxx11
1 files changed, 9 insertions, 2 deletions
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 <libbuild2/action.hxx>
#include <libbuild2/target.hxx>
+#include <libbuild2/recipe.hxx>
#include <libbuild2/export.hxx>
@@ -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).
//