| 3447 | } |
| 3448 | |
| 3449 | void cmake::AppendExtraGeneratorsDocumentation( |
| 3450 | std::vector<cmDocumentationEntry>& v) |
| 3451 | { |
| 3452 | for (cmExternalMakefileProjectGeneratorFactory* eg : this->ExtraGenerators) { |
| 3453 | std::string const doc = eg->GetDocumentation(); |
| 3454 | std::string const name = eg->GetName(); |
| 3455 | |
| 3456 | // Aliases: |
| 3457 | for (std::string const& a : eg->Aliases) { |
| 3458 | v.emplace_back(cmDocumentationEntry{ a, doc }); |
| 3459 | } |
| 3460 | |
| 3461 | // Full names: |
| 3462 | for (std::string const& g : eg->GetSupportedGlobalGenerators()) { |
| 3463 | v.emplace_back(cmDocumentationEntry{ |
| 3464 | cmExternalMakefileProjectGenerator::CreateFullGeneratorName(g, name), |
| 3465 | doc }); |
| 3466 | } |
| 3467 | } |
| 3468 | } |
| 3469 | |
| 3470 | std::vector<cmDocumentationEntry> cmake::GetGeneratorsDocumentation() |
| 3471 | { |
no test coverage detected