From 83b5af87efef571b707fc1f409f22571a9f5054c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 12 Aug 2016 16:23:37 +0200 Subject: Add support for ordering modules in config.build --- build2/dist/module.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build2/dist') diff --git a/build2/dist/module.cxx b/build2/dist/module.cxx index eed9562..2da75c4 100644 --- a/build2/dist/module.cxx +++ b/build2/dist/module.cxx @@ -91,6 +91,12 @@ namespace build2 // bool s (config::specified (r, "config.dist")); + // Adjust module priority so that the config.dist.* values are saved at + // the end of config.build. + // + if (s) + config::save_module (r, "dist", INT32_MAX); + // dist.root // { -- cgit v1.1