From 009e3bdd4743fb6bb74334ec5567f43830df1722 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 2 Nov 2018 12:21:42 +0200 Subject: Use rule-specific variables for module name set on bmi*{} targets --- build2/cc/init.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build2/cc/init.cxx') 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 ("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 ("cc.module_name", v_t); -- cgit v1.1