diff options
Diffstat (limited to 'build2/cc/init.cxx')
-rw-r--r-- | build2/cc/init.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build2/cc/init.cxx b/build2/cc/init.cxx index 0c82169..0f1fda7 100644 --- a/build2/cc/init.cxx +++ b/build2/cc/init.cxx @@ -60,6 +60,13 @@ namespace build2 v.insert<string> ("config.cc.target"); v.insert<string> ("config.cc.pattern"); + // Target type, for example, "C library" or "C++ library". Should be set + // on the target by the matching rule to the name of the module (e.g., + // "c", "cxx"). Currenly only set for libraries and is used to decide + // which *.libs to use during static linking. + // + v.insert<string> ("cc.type"); + return true; } |