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

Method BuildClientRequestInternalTest

Source/cmFileAPI.cxx:1001–1015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

999static unsigned int const InternalTestV2Minor = 0;
1000
1001void cmFileAPI::BuildClientRequestInternalTest(
1002 ClientRequest& r, std::vector<RequestVersion> const& versions)
1003{
1004 // Select a known version from those requested.
1005 for (RequestVersion const& v : versions) {
1006 if ((v.Major == 1 && v.Minor <= InternalTestV1Minor) || //
1007 (v.Major == 2 && v.Minor <= InternalTestV2Minor)) {
1008 r.Version = v.Major;
1009 break;
1010 }
1011 }
1012 if (!r.Version) {
1013 r.Error = NoSupportedVersion(versions);
1014 }
1015}
1016
1017Json::Value cmFileAPI::BuildInternalTest(Object object)
1018{

Callers 1

BuildClientRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected