Extracts the framework directory, if path matches the framework syntax otherwise returns the path untouched
| 1337 | // Extracts the framework directory, if path matches the framework syntax |
| 1338 | // otherwise returns the path untouched |
| 1339 | std::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 | |
| 1350 | cmXCodeObject* cmGlobalXCodeGenerator::CreateXCodeFileReferenceFromPath( |
| 1351 | std::string const& fullpath, cmGeneratorTarget* target, |
no test coverage detected