| 619 | } |
| 620 | |
| 621 | std::string cmPackageInfoReader::ResolvePath(std::string path) const |
| 622 | { |
| 623 | cmSystemTools::ConvertToUnixSlashes(path); |
| 624 | if (cmHasPrefix(path, "@prefix@"_s)) { |
| 625 | return cmStrCat(this->Prefix, path.substr(8)); |
| 626 | } |
| 627 | if (!cmSystemTools::FileIsFullPath(path)) { |
| 628 | return cmStrCat(cmSystemTools::GetFilenamePath(this->Path), '/', path); |
| 629 | } |
| 630 | return path; |
| 631 | } |
| 632 | |
| 633 | void cmPackageInfoReader::AddTargetConfiguration( |
| 634 | cmTarget* target, cm::string_view configuration) const |
no test coverage detected