aboutsummaryrefslogtreecommitdiff
path: root/build2/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-12 16:23:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-12 17:04:22 +0200
commit83b5af87efef571b707fc1f409f22571a9f5054c (patch)
tree4961218154dbe2237f017b9e068ffe80fa025ed7 /build2/test
parent0fd7815cbc6557811df4f1b6ffb40461474b8534 (diff)
Add support for ordering modules in config.build
Diffstat (limited to 'build2/test')
-rw-r--r--build2/test/module.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/test/module.cxx b/build2/test/module.cxx
index 3b5cf7b..83ccf3c 100644
--- a/build2/test/module.cxx
+++ b/build2/test/module.cxx
@@ -74,6 +74,12 @@ namespace build2
//@@ TODO: Need ability to specify extra diff options (e.g.,
// --strip-trailing-cr, now hardcoded).
+ // Adjust module priority so that the config.test.* values are saved at
+ // the end of config.build.
+ //
+ // if (s)
+ // config::save_module (r, "test", INT32_MAX);
+
// Register rules.
//
{