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

Method DumpEntryProperty

Source/cmFileAPICache.cxx:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93Json::Value Cache::DumpEntryProperty(std::string const& name,
94 std::string const& prop)
95{
96 Json::Value property = Json::objectValue;
97 property["name"] = prop;
98 cmValue p = this->State->GetCacheEntryProperty(name, prop);
99 property["value"] = p ? *p : "";
100 return property;
101}
102}
103
104Json::Value cmFileAPICacheDump(cmFileAPI& fileAPI, unsigned int version)

Callers 1

DumpEntryPropertiesMethod · 0.95

Calls 1

GetCacheEntryPropertyMethod · 0.45

Tested by

no test coverage detected