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

Method LanguageLinkerDeviceRule

Source/cmNinjaNormalTargetGenerator.cxx:215–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215std::string cmNinjaNormalTargetGenerator::LanguageLinkerDeviceRule(
216 std::string const& config) const
217{
218 return cmStrCat(
219 this->TargetLinkLanguage(config), '_',
220 cmState::GetTargetTypeName(this->GetGeneratorTarget()->GetType()),
221 "_DEVICE_LINKER__",
222 cmGlobalNinjaGenerator::EncodeRuleName(
223 this->GetGeneratorTarget()->GetName()),
224 '_', config);
225}
226
227std::string cmNinjaNormalTargetGenerator::LanguageLinkerCudaDeviceRule(
228 std::string const& config) const

Callers 2

Calls 5

TargetLinkLanguageMethod · 0.95
cmStrCatFunction · 0.70
GetTypeMethod · 0.45
GetGeneratorTargetMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected