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

Method WriteXMLUpdates

Source/CTest/cmCTestGlobalVC.cxx:101–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101bool cmCTestGlobalVC::WriteXMLUpdates(cmXMLWriter& xml)
102{
103 bool result = true;
104 cmCTestLog(this->CTest, HANDLER_OUTPUT,
105 " Gathering version information (one . per revision):\n"
106 " "
107 << std::flush);
108 result = this->LoadRevisions() && result;
109 cmCTestLog(this->CTest, HANDLER_OUTPUT, std::endl);
110
111 result = this->LoadModifications() && result;
112
113 this->WriteXMLGlobal(xml);
114
115 for (auto const& d : this->Dirs) {
116 this->WriteXMLDirectory(xml, d.first, d.second);
117 }
118
119 return result;
120}
121
122void cmCTestGlobalVC::SetNewRevision(std::string const& revision)
123{

Callers

nothing calls this directly

Calls 4

WriteXMLGlobalMethod · 0.95
WriteXMLDirectoryMethod · 0.95
LoadRevisionsMethod · 0.45
LoadModificationsMethod · 0.45

Tested by

no test coverage detected