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

Method LanguageCompilerRule

Source/cmNinjaTargetGenerator.cxx:120–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120std::string cmNinjaTargetGenerator::LanguageCompilerRule(
121 std::string const& lang, std::string const& config,
122 WithScanning withScanning) const
123{
124 return cmStrCat(
125 lang, "_COMPILER__",
126 cmGlobalNinjaGenerator::EncodeRuleName(this->GeneratorTarget->GetName()),
127 withScanning == WithScanning::Yes ? "_scanned_" : "_unscanned_", config);
128}
129
130std::string cmNinjaTargetGenerator::LanguagePreprocessAndScanRule(
131 std::string const& lang, std::string const& config) const

Calls 2

cmStrCatFunction · 0.70
GetNameMethod · 0.45

Tested by

no test coverage detected