MCPcopy Create free account
hub / github.com/Kitware/CMake / AppendExtraGeneratorsDocumentation

Method AppendExtraGeneratorsDocumentation

Source/cmake.cxx:3449–3468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3447}
3448
3449void 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
3470std::vector<cmDocumentationEntry> cmake::GetGeneratorsDocumentation()
3471{

Callers 1

Calls 4

emplace_backMethod · 0.80
GetDocumentationMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected