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

Method WriteTargetLinkDependRules

Source/cmMakefileTargetGenerator.cxx:1407–1420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1405}
1406
1407void cmMakefileTargetGenerator::WriteTargetLinkDependRules()
1408{
1409 if (!this->GeneratorTarget->HasLinkDependencyFile(this->GetConfigName())) {
1410 return;
1411 }
1412
1413 auto depFile = this->LocalGenerator->GetLinkDependencyFile(
1414 this->GeneratorTarget, this->GetConfigName());
1415 this->CleanFiles.insert(depFile);
1416 this->LocalGenerator->AddImplicitDepends(
1417 this->GeneratorTarget, "LINK",
1418 this->GeneratorTarget->GetFullPath(this->GetConfigName()), depFile,
1419 cmDependencyScannerKind::Compiler);
1420}
1421std::string cmMakefileTargetGenerator::GetClangTidyReplacementsFilePath(
1422 std::string const& directory, cmSourceFile const& source,
1423 std::string const& config) const

Callers 2

WriteRuleFilesMethod · 0.80
WriteRuleFilesMethod · 0.80

Calls 5

HasLinkDependencyFileMethod · 0.80
AddImplicitDependsMethod · 0.80
GetLinkDependencyFileMethod · 0.45
insertMethod · 0.45
GetFullPathMethod · 0.45

Tested by

no test coverage detected