From 83f8b6a45fc041586819537ca86be2eb534f79b0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 16 Mar 2017 18:14:16 +0200 Subject: Implement create meta-operation --- build2/context.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build2/context.cxx') diff --git a/build2/context.cxx b/build2/context.cxx index e4e7054..fa3edfa 100644 --- a/build2/context.cxx +++ b/build2/context.cxx @@ -18,6 +18,8 @@ #include #include +#include // config::preprocess_create(). + using namespace std; using namespace butl; @@ -226,6 +228,8 @@ namespace build2 meta_operation_table.insert ("perform"); meta_operation_table.insert ("configure"); meta_operation_table.insert ("disfigure"); + meta_operation_table.insert ( + meta_operation_data ("create", &config::preprocess_create)); meta_operation_table.insert ("dist"); operation_table.clear (); @@ -451,7 +455,7 @@ namespace build2 fail << "typed override of variable " << n; // Global and scope overrides we can enter directly. Project ones will - // be entered by the caller for for each amalgamation/project. + // be entered by the caller for each amalgamation/project. // if (c == '!' || !dir.empty ()) { -- cgit v1.1