diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-11-02 12:21:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-11-02 12:21:42 +0200 |
commit | 009e3bdd4743fb6bb74334ec5567f43830df1722 (patch) | |
tree | 5dc72aedca8fdaa854d65801b91f9a12ea99a4e0 /build2/cc/init.cxx | |
parent | 9bbdade4a502f72d1d5a25d6ace2f6545c2658b0 (diff) |
Use rule-specific variables for module name set on bmi*{} targets
Diffstat (limited to 'build2/cc/init.cxx')
-rw-r--r-- | build2/cc/init.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build2/cc/init.cxx b/build2/cc/init.cxx index bb0269c..183802f 100644 --- a/build2/cc/init.cxx +++ b/build2/cc/init.cxx @@ -124,8 +124,9 @@ namespace build2 // v.insert<bool> ("cc.system", v_t); - // C++ module name. Should be set on the bmi*{} target by the matching - // rule. + // C++ module name. Set on the bmi*{} target as a rule-specific variable + // by the matching rule. Can also be set by the user (normally via the + // x.module_name alias) on the x_mod{} source. // v.insert<string> ("cc.module_name", v_t); |