From 5f924ea1926fe17acf699a43713b7f5881e9d30d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 26 Jun 2016 17:05:07 +0200 Subject: Add support for passing configuration hints via module init() --- build2/bin/module.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build2/bin/module.cxx') diff --git a/build2/bin/module.cxx b/build2/bin/module.cxx index 1ab29f9..d5df054 100644 --- a/build2/bin/module.cxx +++ b/build2/bin/module.cxx @@ -36,11 +36,14 @@ namespace build2 const location&, unique_ptr&, bool first, - bool) + bool, + const variable_map& config_hints) { tracer trace ("bin::init"); l5 ([&]{trace << "for " << b.out_path ();}); + assert (config_hints.empty ()); // We don't known any hints. + // Enter module variables. // if (first) -- cgit v1.1