| 167 | } |
| 168 | |
| 169 | std::string cmInstallGenerator::CreateComponentTest( |
| 170 | std::string const& component, bool exclude_from_all, bool all_components) |
| 171 | { |
| 172 | if (all_components) { |
| 173 | if (exclude_from_all) { |
| 174 | return "CMAKE_INSTALL_COMPONENT"; |
| 175 | } |
| 176 | return {}; |
| 177 | } |
| 178 | |
| 179 | std::string result = "CMAKE_INSTALL_COMPONENT STREQUAL \""; |
| 180 | result += component; |
| 181 | result += "\""; |
| 182 | if (!exclude_from_all) { |
| 183 | result += " OR NOT CMAKE_INSTALL_COMPONENT"; |
| 184 | } |
| 185 | |
| 186 | return result; |
| 187 | } |
| 188 | |
| 189 | void cmInstallGenerator::GenerateScript(std::ostream& os) |
| 190 | { |
no outgoing calls
no test coverage detected