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

Method AddGeneratorTarget

Source/cmLocalGenerator.cxx:775–783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

773}
774
775void cmLocalGenerator::AddGeneratorTarget(
776 std::unique_ptr<cmGeneratorTarget> gt)
777{
778 cmGeneratorTarget* gt_ptr = gt.get();
779
780 this->GeneratorTargets.push_back(std::move(gt));
781 this->GeneratorTargetSearchIndex.emplace(gt_ptr->GetName(), gt_ptr);
782 this->GlobalGenerator->IndexGeneratorTarget(gt_ptr);
783}
784
785void cmLocalGenerator::AddImportedGeneratorTarget(cmGeneratorTarget* gt)
786{

Callers 13

AddExtraTargetsMethod · 0.80
AddCheckTargetMethod · 0.80
AddAllTargetMethod · 0.80
InitAutogenTargetMethod · 0.80
InitRccTargetsMethod · 0.80
AddCheckTargetMethod · 0.80
AddExtraIDETargetsMethod · 0.80
CreateCxxStdlibTargetFunction · 0.80

Calls 6

moveFunction · 0.85
push_backMethod · 0.80
emplaceMethod · 0.80
IndexGeneratorTargetMethod · 0.80
getMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected