| 191 | } |
| 192 | |
| 193 | bool cmGlobalGenerator::SetGeneratorPlatform(std::string const& p, |
| 194 | cmMakefile* mf) |
| 195 | { |
| 196 | if (p.empty()) { |
| 197 | return true; |
| 198 | } |
| 199 | |
| 200 | std::ostringstream e; |
| 201 | /* clang-format off */ |
| 202 | e << |
| 203 | "Generator\n" |
| 204 | " " << this->GetName() << "\n" |
| 205 | "does not support platform specification, but platform\n" |
| 206 | " " << p << "\n" |
| 207 | "was specified."; |
| 208 | /* clang-format on */ |
| 209 | mf->IssueMessage(MessageType::FATAL_ERROR, e.str()); |
| 210 | return false; |
| 211 | } |
| 212 | |
| 213 | bool cmGlobalGenerator::SetGeneratorToolset(std::string const& ts, bool, |
| 214 | cmMakefile* mf) |
no test coverage detected