| 862 | static unsigned int const ConfigureLogV1Minor = 0; |
| 863 | |
| 864 | void cmFileAPI::BuildClientRequestConfigureLog( |
| 865 | ClientRequest& r, std::vector<RequestVersion> const& versions) |
| 866 | { |
| 867 | // Select a known version from those requested. |
| 868 | for (RequestVersion const& v : versions) { |
| 869 | if ((v.Major == 1 && v.Minor <= ConfigureLogV1Minor)) { |
| 870 | r.Version = v.Major; |
| 871 | break; |
| 872 | } |
| 873 | } |
| 874 | if (!r.Version) { |
| 875 | r.Error = NoSupportedVersion(versions); |
| 876 | } |
| 877 | } |
| 878 | |
| 879 | Json::Value cmFileAPI::BuildConfigureLog(Object object) |
| 880 | { |