aboutsummaryrefslogtreecommitdiff
path: root/build/b.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-27 15:11:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-27 15:11:40 +0200
commitfd689eb883655dcb29e505b041cd02fac01f0bac (patch)
tree0d85ec32d95a1c96eaa7eff28734b900c44dd3ca /build/b.cxx
parent7f2d06258d57e39940e8fa959336da0ea66fe37f (diff)
Dist module/meta-operation initial implementation
Diffstat (limited to 'build/b.cxx')
-rw-r--r--build/b.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/build/b.cxx b/build/b.cxx
index 412fb12..38a944c 100644
--- a/build/b.cxx
+++ b/build/b.cxx
@@ -42,6 +42,7 @@
using namespace std;
#include <build/config/module>
+#include <build/dist/module>
#include <build/bin/module>
#include <build/cxx/module>
#include <build/cli/module>
@@ -94,6 +95,7 @@ main (int argc, char* argv[])
// Register builtin modules.
//
builtin_modules["config"] = &config::config_init;
+ builtin_modules["dist"] = &dist::dist_init;
builtin_modules["bin"] = &bin::bin_init;
builtin_modules["cxx"] = &cxx::cxx_init;
builtin_modules["cli"] = &cli::cli_init;
@@ -771,7 +773,7 @@ main (int argc, char* argv[])
action a (mid, pre_oid, oid);
mif->match (a, tgs);
- mif->execute (a, tgs);
+ mif->execute (a, tgs, true); // Run quiet.
if (mif->operation_post != nullptr)
mif->operation_post (pre_oid);
@@ -788,7 +790,7 @@ main (int argc, char* argv[])
action a (mid, oid, 0);
mif->match (a, tgs);
- mif->execute (a, tgs);
+ mif->execute (a, tgs, false);
if (post_oid != 0)
{
@@ -806,7 +808,7 @@ main (int argc, char* argv[])
action a (mid, post_oid, oid);
mif->match (a, tgs);
- mif->execute (a, tgs);
+ mif->execute (a, tgs, true); // Run quiet.
if (mif->operation_post != nullptr)
mif->operation_post (post_oid);