aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/init.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-02 12:21:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-02 12:21:42 +0200
commit009e3bdd4743fb6bb74334ec5567f43830df1722 (patch)
tree5dc72aedca8fdaa854d65801b91f9a12ea99a4e0 /build2/cc/init.cxx
parent9bbdade4a502f72d1d5a25d6ace2f6545c2658b0 (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.cxx5
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);