summaryrefslogtreecommitdiffstats
path: root/Source/cmServerProtocol.cxx
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-09-09 08:01:44 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-20 12:32:26 (GMT)
commit7df8a8f2769de784c24dc6baeb55ad2038aa059f (patch)
tree3b2535b239d205da500802c7f427f8a37fbf89d3 /Source/cmServerProtocol.cxx
parent5c87b92b1b7888ee032e3c2a75f35f1f94f4dfa5 (diff)
downloadCMake-7df8a8f2769de784c24dc6baeb55ad2038aa059f.zip
CMake-7df8a8f2769de784c24dc6baeb55ad2038aa059f.tar.gz
CMake-7df8a8f2769de784c24dc6baeb55ad2038aa059f.tar.bz2
server-mode: Add --experimental flag
Allow for experimental cmProtocolVersions, which will only ever get listed if the server was started with the (undocumented) "--experimental" flag. Mark current protocol version 1.0 as experimental.
Diffstat (limited to 'Source/cmServerProtocol.cxx')
-rw-r--r--Source/cmServerProtocol.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx
index c3a4d8e..d53ac28 100644
--- a/Source/cmServerProtocol.cxx
+++ b/Source/cmServerProtocol.cxx
@@ -262,3 +262,8 @@ const cmServerResponse cmServerProtocol1_0::Process(
return request.ReportError("Unknown command!");
}
+
+bool cmServerProtocol1_0::IsExperimental() const
+{
+ return true;
+}