diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-26 17:05:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-06-26 17:05:07 +0200 |
commit | 5f924ea1926fe17acf699a43713b7f5881e9d30d (patch) | |
tree | eccff3428e8a1b689e79b07088fc00b520a9485b /build2/cxx/module.cxx | |
parent | 61617d7bb990f04970c6357d8e9a9095174d8fc4 (diff) |
Add support for passing configuration hints via module init()
Diffstat (limited to 'build2/cxx/module.cxx')
-rw-r--r-- | build2/cxx/module.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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<module_base>&, 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. // |