aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/init.cxx')
-rw-r--r--build2/cc/init.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/build2/cc/init.cxx b/build2/cc/init.cxx
index f845712..ea42469 100644
--- a/build2/cc/init.cxx
+++ b/build2/cc/init.cxx
@@ -78,6 +78,11 @@ namespace build2
//
v.insert<bool> ("cc.system");
+ // C++ module name. Should be set on the bmi{} target by the matching
+ // rule.
+ //
+ v.insert<string> ("cc.module_name");
+
// Ability to disable using preprocessed output for compilation.
//
v.insert<bool> ("config.cc.reprocess", true);