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

Method CreateObject

Source/cmGlobalXCodeGenerator.cxx:952–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

950}
951
952cmXCodeObject* cmGlobalXCodeGenerator::CreateObject(
953 cmXCodeObject::PBXType ptype, cm::string_view key)
954{
955 auto obj = cm::make_unique<cmXCode21Object>(ptype, cmXCodeObject::OBJECT,
956 this->GetObjectId(ptype, key));
957 auto* ptr = obj.get();
958 this->addObject(std::move(obj));
959 return ptr;
960}
961
962cmXCodeObject* cmGlobalXCodeGenerator::CreateObject(cmXCodeObject::Type type)
963{

Callers 15

ParseKnownAttributesMethod · 0.95
CreateStringMethod · 0.95
CreateObjectReferenceMethod · 0.95
CreateFlatCloneMethod · 0.95
CreateXCodeSourceFileMethod · 0.95
CreateXCodeTargetMethod · 0.95
CreateBuildSettingsMethod · 0.95
CreateUtilityTargetMethod · 0.95

Calls 4

GetObjectIdMethod · 0.95
addObjectMethod · 0.95
moveFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected