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

Method AddTargetDepends

Source/cmGlobalGenerator.cxx:3662–3673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3660}
3661
3662void cmGlobalGenerator::AddTargetDepends(cmGeneratorTarget const* target,
3663 TargetDependSet& projectTargets) const
3664{
3665 // add the target itself
3666 if (projectTargets.insert(target).second) {
3667 // This is the first time we have encountered the target.
3668 // Recursively follow its dependencies.
3669 for (auto const& t : this->GetTargetDirectDepends(target)) {
3670 this->AddTargetDepends(t, projectTargets);
3671 }
3672 }
3673}
3674
3675void cmGlobalGenerator::AddToManifest(std::string const& f)
3676{

Callers 1

GetTargetsForProjectMethod · 0.95

Calls 2

insertMethod · 0.45

Tested by

no test coverage detected