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

Method GetVersion

Source/cmPackageInfoReader.cxx:553–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551}
552
553cm::optional<std::string> cmPackageInfoReader::GetVersion() const
554{
555 Json::Value const& version = this->Data["version"];
556 if (version.isString()) {
557 return version.asString();
558 }
559 return cm::nullopt;
560}
561
562cm::optional<std::string> cmPackageInfoReader::GetCompatVersion() const
563{

Callers 10

mainFunction · 0.45
JNI_OnUnloadFunction · 0.45
VisitPresetFunction · 0.45
ExpandMacrosFunction · 0.45
CheckVersionMethod · 0.45
WriteProjectStartMethod · 0.45
GenerateMethod · 0.45
WriteCustomRuleCppMethod · 0.45
ComputeClOptionsMethod · 0.45

Calls 2

isStringMethod · 0.80
asStringMethod · 0.80

Tested by

no test coverage detected