summaryrefslogtreecommitdiffstats
path: root/Source/cmServerProtocol.h
Commit message (Collapse)AuthorAgeFilesLines
* server-mode: Allow for sending signalsTobias Hunger2016-09-221-0/+2
| | | | Enable the server to send signals.
* server-mode: Pass server into cmServerProtocolTobias Hunger2016-09-221-1/+3
| | | | The information will be needed to send signals.
* server-mode: Report Messages from cmake to clientsTobias Hunger2016-09-201-0/+2
| | | | | Pass messages sent from cmake via Error(...) or Message(...) on to clients.
* server-mode: Automate progress reportingTobias Hunger2016-09-201-3/+5
| | | | | Wire up cmake::SetProgressUpdate to do progress reporting via the cmake server.
* server-mode: Add --experimental flagTobias Hunger2016-09-201-0/+2
| | | | | | | | 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.
* cmake-server: Implement ServerProtocol 1.0Tobias Hunger2016-09-191-0/+18
| | | | | | | | | | | | | | Enable the initial handshake of the client to complete the connection to the server. The handshake sets the protocol version that client and server will use to talk to each other. The only way to change this is to quit the server and start over. CMake specific information is also set during the initial handshake. Since cmake so far never had to change basic information about any project while running, it was decided to keep this information static and require a restart of the cmake server to change any of these.
* cmake-server: Bare-bones server implementationTobias Hunger2016-09-191-0/+97
Adds a bare-bones cmake-server implementation and makes it possible to start that with "cmake -E server". Communication happens via stdin/stdout for now. Protocol is based on Json objects surrounded by magic strings ("[== CMake Server ==[" and "]== CMake Server ==]"), which simplifies Json parsing significantly. This patch also defines an interface used to implement different versions of the protocol spoken by the server, but does not include any protocol implementaiton.