summaryrefslogtreecommitdiffstats
path: root/Source/cmServerProtocol.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-09-09 08:01:45 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-26 18:32:22 (GMT)
commit0a8ad6700eb7f54961271b3ee7b41add61eb0be5 (patch)
tree7568d19560b15c9d3daa7ea45b4f783132f734b8 /Source/cmServerProtocol.h
parent544f65f44de0bb63a0b427150eb5e2bc90f58396 (diff)
downloadCMake-0a8ad6700eb7f54961271b3ee7b41add61eb0be5.zip
CMake-0a8ad6700eb7f54961271b3ee7b41add61eb0be5.tar.gz
CMake-0a8ad6700eb7f54961271b3ee7b41add61eb0be5.tar.bz2
server-mode: Add a configure command
Add a command to trigger cmake to configure a project. Keep this separate from the compute step (added in the next commit) to faciliate applications like cmake-gui.
Diffstat (limited to 'Source/cmServerProtocol.h')
-rw-r--r--Source/cmServerProtocol.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmServerProtocol.h b/Source/cmServerProtocol.h
index 21515b2..c0148a4 100644
--- a/Source/cmServerProtocol.h
+++ b/Source/cmServerProtocol.h
@@ -118,13 +118,15 @@ private:
std::string* errorMessage) override;
// Handle requests:
+ cmServerResponse ProcessConfigure(const cmServerRequest& request);
cmServerResponse ProcessGlobalSettings(const cmServerRequest& request);
cmServerResponse ProcessSetGlobalSettings(const cmServerRequest& request);
enum State
{
STATE_INACTIVE,
- STATE_ACTIVE
+ STATE_ACTIVE,
+ STATE_CONFIGURED
};
State m_State = STATE_INACTIVE;
};