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

Method IsRootOnlyTarget

Source/cmGlobalGenerator.cxx:3656–3660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3654}
3655
3656bool cmGlobalGenerator::IsRootOnlyTarget(cmGeneratorTarget* target) const
3657{
3658 return (target->GetType() == cmStateEnums::GLOBAL_TARGET ||
3659 target->GetName() == this->GetAllTargetName());
3660}
3661
3662void cmGlobalGenerator::AddTargetDepends(cmGeneratorTarget const* target,
3663 TargetDependSet& projectTargets) const

Callers 1

GetTargetsForProjectMethod · 0.95

Calls 3

GetAllTargetNameMethod · 0.95
GetTypeMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected