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

Method GenerateSubprojectsOutput

Source/cmCTest.cxx:1109–1117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1107}
1108
1109void cmCTest::GenerateSubprojectsOutput(cmXMLWriter& xml)
1110{
1111 for (std::string const& subproj : this->GetLabelsForSubprojects()) {
1112 xml.StartElement("Subproject");
1113 xml.Attribute("name", subproj);
1114 xml.Element("Label", subproj);
1115 xml.EndElement(); // Subproject
1116 }
1117}
1118
1119std::vector<std::string> cmCTest::GetLabelsForSubprojects()
1120{

Callers 4

GenerateCTestXMLMethod · 0.80
GenerateCTestXMLMethod · 0.80
ExecuteConfigureMethod · 0.80
GenerateXMLHeaderMethod · 0.80

Calls 5

AttributeMethod · 0.80
StartElementMethod · 0.45
ElementMethod · 0.45
EndElementMethod · 0.45

Tested by

no test coverage detected