aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/recipe.cxx
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/recipe.cxx
parent68cc1badd2eb96fd1f89e8b6519d45039ff983ba (diff)
Factor recipe to separate header/source files
Diffstat (limited to 'libbuild2/recipe.cxx')
-rw-r--r--libbuild2/recipe.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/libbuild2/recipe.cxx b/libbuild2/recipe.cxx
new file mode 100644
index 0000000..3720059
--- /dev/null
+++ b/libbuild2/recipe.cxx
@@ -0,0 +1,14 @@
+// file : libbuild2/target.cxx -*- C++ -*-
+// license : MIT; see accompanying LICENSE file
+
+#include <libbuild2/target.hxx>
+
+#include <libbuild2/algorithm.hxx>
+
+namespace build2
+{
+ const recipe empty_recipe;
+ const recipe noop_recipe (&noop_action);
+ const recipe default_recipe (&default_action);
+ const recipe group_recipe (&group_action);
+}