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

Method BuildCache

Source/cmFileAPI.cxx:913–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

911}
912
913Json::Value cmFileAPI::BuildCache(Object object)
914{
915 Json::Value cache = cmFileAPICacheDump(*this, object.Version);
916 cache["kind"] = this->ObjectKindName(object.Kind);
917
918 Json::Value& version = cache["version"];
919 if (object.Version == 2) {
920 version = BuildVersion(2, CacheV2Minor);
921 } else {
922 return cache; // should be unreachable
923 }
924
925 return cache;
926}
927
928// The "cmakeFiles" object kind.
929

Callers 1

BuildObjectMethod · 0.95

Calls 2

ObjectKindNameMethod · 0.95
cmFileAPICacheDumpFunction · 0.85

Tested by

no test coverage detected