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

Method GetLabelsForSubprojects

Source/cmCTest.cxx:1119–1132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1117}
1118
1119std::vector<std::string> cmCTest::GetLabelsForSubprojects()
1120{
1121 std::string labelsForSubprojects =
1122 this->GetCTestConfiguration("LabelsForSubprojects");
1123 cmList subprojects{ labelsForSubprojects };
1124
1125 // sort the array
1126 std::sort(subprojects.begin(), subprojects.end());
1127 // remove duplicates
1128 auto new_end = std::unique(subprojects.begin(), subprojects.end());
1129 subprojects.erase(new_end, subprojects.end());
1130
1131 return std::move(subprojects.data());
1132}
1133
1134void cmCTest::EndXML(cmXMLWriter& xml)
1135{

Callers 3

LogTestSummaryMethod · 0.80

Calls 6

GetCTestConfigurationMethod · 0.95
moveFunction · 0.85
eraseMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected