summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2017-06-29 08:29:19 (GMT)
committerBrad King <brad.king@kitware.com>2017-06-29 13:58:49 (GMT)
commitab533e4851b1a9ac862af353e5013650f35360bf (patch)
tree31012cfc0d19618ee0a9573bf5b893e60380a712 /Help/manual
parentaaa545f867a69d959305c1be455b4a92d0922b1c (diff)
downloadCMake-ab533e4851b1a9ac862af353e5013650f35360bf.zip
CMake-ab533e4851b1a9ac862af353e5013650f35360bf.tar.gz
CMake-ab533e4851b1a9ac862af353e5013650f35360bf.tar.bz2
Help: Document server-mode protocol versions more clearly
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-server.7.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/manual/cmake-server.7.rst b/Help/manual/cmake-server.7.rst
index 9520cc1..6a68a1c 100644
--- a/Help/manual/cmake-server.7.rst
+++ b/Help/manual/cmake-server.7.rst
@@ -254,6 +254,11 @@ versions supported by the cmake server. These are JSON objects with "major" and
as experimental. These will contain the "isExperimental" key set to true. Enabling
these requires a special command line argument when starting the cmake server mode.
+Within a "major" version all "minor" versions are fully backwards compatible.
+New "minor" versions may introduce functionality in such a way that existing
+clients of the same "major" version will continue to work, provided they
+ignore keys in the output that they do not know about.
+
Example::
[== "CMake Server" ==[
@@ -268,6 +273,9 @@ The first request that the client may send to the server is of type "handshake".
This request needs to pass one of the "supportedProtocolVersions" of the "hello"
type response received earlier back to the server in the "protocolVersion" field.
+Giving the "major" version of the requested protocol version will make the server
+use the latest minor version of that protocol. Use this if you do not explicitly
+need to depend on a specific minor version.
Each protocol version may request additional attributes to be present.