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/cxx/module.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build2/cxx/module.cxx') diff --git a/build2/cxx/module.cxx b/build2/cxx/module.cxx index c03763f..7e9b5e2 100644 --- a/build2/cxx/module.cxx +++ b/build2/cxx/module.cxx @@ -35,11 +35,14 @@ namespace build2 const location& loc, unique_ptr&, bool first, - bool) + bool, + const variable_map& config_hints) { tracer trace ("cxx::init"); l5 ([&]{trace << "for " << b.out_path ();}); + assert (config_hints.empty ()); // We don't known any hints. + // Initialize the bin module. Only do this if it hasn't already been // loaded so that we don't overwrite user's bin.* settings. // -- cgit v1.1