MCPcopy Index your code
hub / github.com/Kitware/CMake / GetLibraryOrFrameworkPath

Method GetLibraryOrFrameworkPath

Source/cmGlobalXCodeGenerator.cxx:1339–1348  ·  view source on GitHub ↗

Extracts the framework directory, if path matches the framework syntax otherwise returns the path untouched

Source from the content-addressed store, hash-verified

1337// Extracts the framework directory, if path matches the framework syntax
1338// otherwise returns the path untouched
1339std::string cmGlobalXCodeGenerator::GetLibraryOrFrameworkPath(
1340 std::string const& path) const
1341{
1342 auto fwDescriptor = this->SplitFrameworkPath(path);
1343 if (fwDescriptor) {
1344 return fwDescriptor->GetFrameworkPath();
1345 }
1346
1347 return path;
1348}
1349
1350cmXCodeObject* cmGlobalXCodeGenerator::CreateXCodeFileReferenceFromPath(
1351 std::string const& fullpath, cmGeneratorTarget* target,

Callers 1

Calls 2

SplitFrameworkPathMethod · 0.80
GetFrameworkPathMethod · 0.80

Tested by

no test coverage detected