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

Method BuildClientRequestToolchains

Source/cmFileAPI.cxx:966–979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

964static unsigned int const ToolchainsV1Minor = 1;
965
966void cmFileAPI::BuildClientRequestToolchains(
967 ClientRequest& r, std::vector<RequestVersion> const& versions)
968{
969 // Select a known version from those requested.
970 for (RequestVersion const& v : versions) {
971 if ((v.Major == 1 && v.Minor <= ToolchainsV1Minor)) {
972 r.Version = v.Major;
973 break;
974 }
975 }
976 if (!r.Version) {
977 r.Error = NoSupportedVersion(versions);
978 }
979}
980
981Json::Value cmFileAPI::BuildToolchains(Object object)
982{

Callers 1

BuildClientRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected