summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-09-09 08:01:46 (GMT)
committerTobias Hunger <tobias.hunger@qt.io>2016-09-28 16:32:55 (GMT)
commit7b1e60f26e284e223be8638744ba3a3b0efdee63 (patch)
tree97ac29662cc89d98bd5d05471ea7d5ba15d8d0ea /Help/manual
parent84553a6e709ea810f3e7fc5ece5daa1c53be5cda (diff)
downloadCMake-7b1e60f26e284e223be8638744ba3a3b0efdee63.zip
CMake-7b1e60f26e284e223be8638744ba3a3b0efdee63.tar.gz
CMake-7b1e60f26e284e223be8638744ba3a3b0efdee63.tar.bz2
server-mode: Report CMakeCache entries
With this it would be possible to implement something like cmake-gui using server-mode.
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-server.7.rst36
1 files changed, 36 insertions, 0 deletions
diff --git a/Help/manual/cmake-server.7.rst b/Help/manual/cmake-server.7.rst
index 76ee3fb..f662125 100644
--- a/Help/manual/cmake-server.7.rst
+++ b/Help/manual/cmake-server.7.rst
@@ -599,3 +599,39 @@ The list of files which "isCMake" set to true are part of the cmake installation
The list of files witch "isTemporary" set to true are part of the build directory
and will not survive the build directory getting cleaned out.
+
+
+Type "cache"
+^^^^^^^^^^^^
+
+The "cache" request can be used once a project is configured and will
+list the cached configuration values.
+
+Example::
+
+ [== CMake Server ==[
+ {"type":"cache"}
+ ]== CMake Server ==]
+
+CMake will respond with the following output::
+
+ [== CMake Server ==[
+ {
+ "cookie":"","inReplyTo":"cache","type":"reply",
+ "cache":
+ [
+ {
+ "key":"SOMEVALUE",
+ "properties":
+ {
+ "ADVANCED":"1",
+ "HELPSTRING":"This is not helpful"
+ }
+ "type":"STRING",
+ "value":"TEST"}
+ ]
+ }
+ ]== CMake Server ==]
+
+The output can be limited to a list of keys by passing an array of key names
+to the "keys" optional field of the "cache" request.