| 98 | } |
| 99 | |
| 100 | void cmInstallFileSetGenerator::GenerateScriptForConfig( |
| 101 | std::ostream& os, std::string const& config, Indent indent) |
| 102 | { |
| 103 | |
| 104 | if (!this->FileSet) { |
| 105 | return; |
| 106 | } |
| 107 | |
| 108 | for (auto const& dirEntry : this->CalculateFilesPerDir(config)) { |
| 109 | std::string destSub; |
| 110 | if (!dirEntry.first.empty()) { |
| 111 | destSub = cmStrCat('/', dirEntry.first); |
| 112 | } |
| 113 | this->AddInstallRule(os, cmStrCat(this->GetDestination(config), destSub), |
| 114 | cmInstallType_FILES, dirEntry.second, |
| 115 | this->GetOptional(), this->FilePermissions.c_str(), |
| 116 | nullptr, nullptr, nullptr, indent); |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | std::map<std::string, std::vector<std::string>> |
| 121 | cmInstallFileSetGenerator::CalculateFilesPerDir( |
nothing calls this directly
no test coverage detected