| 171 | #endif |
| 172 | |
| 173 | bool cmGlobalGenerator::SetGeneratorInstance(std::string const& i, |
| 174 | cmMakefile* mf) |
| 175 | { |
| 176 | if (i.empty()) { |
| 177 | return true; |
| 178 | } |
| 179 | |
| 180 | std::ostringstream e; |
| 181 | /* clang-format off */ |
| 182 | e << |
| 183 | "Generator\n" |
| 184 | " " << this->GetName() << "\n" |
| 185 | "does not support instance specification, but instance\n" |
| 186 | " " << i << "\n" |
| 187 | "was specified."; |
| 188 | /* clang-format on */ |
| 189 | mf->IssueMessage(MessageType::FATAL_ERROR, e.str()); |
| 190 | return false; |
| 191 | } |
| 192 | |
| 193 | bool cmGlobalGenerator::SetGeneratorPlatform(std::string const& p, |
| 194 | cmMakefile* mf) |
no test coverage detected