MCPcopy Create free account
hub / github.com/Kitware/CMake / LanguageScanRule

Method LanguageScanRule

Source/cmNinjaTargetGenerator.cxx:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139std::string cmNinjaTargetGenerator::LanguageScanRule(
140 std::string const& lang, std::string const& config) const
141{
142 return cmStrCat(
143 lang, "_SCAN__",
144 cmGlobalNinjaGenerator::EncodeRuleName(this->GeneratorTarget->GetName()),
145 '_', config);
146}
147
148bool cmNinjaTargetGenerator::NeedExplicitPreprocessing(
149 std::string const& lang) const

Callers 3

WriteCompileRuleMethod · 0.95

Calls 2

cmStrCatFunction · 0.70
GetNameMethod · 0.45

Tested by

no test coverage detected