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

Method BuildCMakeFiles

Source/cmFileAPI.cxx:947–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

945}
946
947Json::Value cmFileAPI::BuildCMakeFiles(Object object)
948{
949 Json::Value cmakeFiles = cmFileAPICMakeFilesDump(*this, object.Version);
950 cmakeFiles["kind"] = this->ObjectKindName(object.Kind);
951
952 Json::Value& version = cmakeFiles["version"];
953 if (object.Version == 1) {
954 version = BuildVersion(1, CMakeFilesV1Minor);
955 } else {
956 return cmakeFiles; // should be unreachable
957 }
958
959 return cmakeFiles;
960}
961
962// The "toolchains" object kind.
963

Callers 1

BuildObjectMethod · 0.95

Calls 2

ObjectKindNameMethod · 0.95
cmFileAPICMakeFilesDumpFunction · 0.85

Tested by

no test coverage detected