| 151 | } |
| 152 | |
| 153 | void cmInstallRuntimeDependencySetGenerator::GenerateAppleLibraryScript( |
| 154 | std::ostream& os, std::string const& config, |
| 155 | std::vector<std::string> const& evaluatedRPaths, Indent indent) |
| 156 | { |
| 157 | os << indent << "if(NOT " << this->TmpVarPrefix |
| 158 | << "_dep MATCHES \"\\\\.framework/\")\n"; |
| 159 | |
| 160 | auto depName = cmStrCat(this->TmpVarPrefix, "_dep"); |
| 161 | this->AddInstallRule( |
| 162 | os, this->GetDestination(config), cmInstallType_SHARED_LIBRARY, {}, false, |
| 163 | this->Permissions.c_str(), nullptr, nullptr, " FOLLOW_SYMLINK_CHAIN", |
| 164 | indent.Next(), depName.c_str()); |
| 165 | |
| 166 | os << indent.Next() << "get_filename_component(" << this->TmpVarPrefix |
| 167 | << "_dep_name \"${" << this->TmpVarPrefix << "_dep}\" NAME)\n"; |
| 168 | auto depNameVar = cmStrCat("${", this->TmpVarPrefix, "_dep_name}"); |
| 169 | this->GenerateInstallNameFixup(os, config, evaluatedRPaths, |
| 170 | cmStrCat("${", this->TmpVarPrefix, "_dep}"), |
| 171 | depNameVar, indent.Next()); |
| 172 | |
| 173 | os << indent << "endif()\n"; |
| 174 | } |
| 175 | |
| 176 | void cmInstallRuntimeDependencySetGenerator::GenerateAppleFrameworkScript( |
| 177 | std::ostream& os, std::string const& config, |
no test coverage detected