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

Method WriteVersion

Source/CPack/cmCPackExternalGenerator.cxx:171–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171int cmCPackExternalGenerator::cmCPackExternalVersionGenerator::WriteVersion(
172 Json::Value& root)
173{
174 root["formatVersionMajor"] = this->GetVersionMajor();
175 root["formatVersionMinor"] = this->GetVersionMinor();
176
177 return 1;
178}
179
180int cmCPackExternalGenerator::cmCPackExternalVersionGenerator::WriteToJSON(
181 Json::Value& root)

Callers 1

WriteToJSONMethod · 0.95

Calls 2

GetVersionMajorMethod · 0.80
GetVersionMinorMethod · 0.80

Tested by

no test coverage detected