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

Method BuildClientRequestCMakeFiles

Source/cmFileAPI.cxx:932–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

930static unsigned int const CMakeFilesV1Minor = 1;
931
932void cmFileAPI::BuildClientRequestCMakeFiles(
933 ClientRequest& r, std::vector<RequestVersion> const& versions)
934{
935 // Select a known version from those requested.
936 for (RequestVersion const& v : versions) {
937 if ((v.Major == 1 && v.Minor <= CMakeFilesV1Minor)) {
938 r.Version = v.Major;
939 break;
940 }
941 }
942 if (!r.Version) {
943 r.Error = NoSupportedVersion(versions);
944 }
945}
946
947Json::Value cmFileAPI::BuildCMakeFiles(Object object)
948{

Callers 1

BuildClientRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected