| 3603 | } |
| 3604 | |
| 3605 | std::string cmGlobalXCodeGenerator::GetOrCreateId(std::string const& name, |
| 3606 | std::string const& id) |
| 3607 | { |
| 3608 | std::string guidStoreName = cmStrCat(name, "_GUID_CMAKE"); |
| 3609 | cmValue storedGUID = this->CMakeInstance->GetCacheDefinition(guidStoreName); |
| 3610 | |
| 3611 | if (storedGUID) { |
| 3612 | return *storedGUID; |
| 3613 | } |
| 3614 | |
| 3615 | this->CMakeInstance->AddCacheEntry( |
| 3616 | guidStoreName, id, "Stored Xcode object GUID", cmStateEnums::INTERNAL); |
| 3617 | |
| 3618 | return id; |
| 3619 | } |
| 3620 | |
| 3621 | void cmGlobalXCodeGenerator::AddDependTarget(cmXCodeObject* target, |
| 3622 | cmXCodeObject* dependTarget) |
no test coverage detected