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:23:53 (GMT)
commit82104cc7a8e831ad20cb87d126c2ff00a851bedc (patch)
tree79f319287f1f7370676cc69f0280e68fd46e42c1 /Source/cmServerProtocol.h
parent1a5fddfe6d56733528ace3d15899b0739ea28054 (diff)
downloadCMake-82104cc7a8e831ad20cb87d126c2ff00a851bedc.zip
CMake-82104cc7a8e831ad20cb87d126c2ff00a851bedc.tar.gz
CMake-82104cc7a8e831ad20cb87d126c2ff00a851bedc.tar.bz2
server-mode: Query global configuration of cmake via a command
Add "globalSettings" command that returns: * Return capability information * Return currently used generator/extra generator * Return a range of flags for debug/trace/etc.
Diffstat (limited to 'Source/cmServerProtocol.h')
-rw-r--r--Source/cmServerProtocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmServerProtocol.h b/Source/cmServerProtocol.h
index 0383dfe..8d1fe0e 100644
--- a/Source/cmServerProtocol.h
+++ b/Source/cmServerProtocol.h
@@ -13,6 +13,7 @@
#pragma once
#include "cmListFileCache.h"
+#include "cmake.h"
#if defined(CMAKE_BUILD_WITH_CMAKE)
#include "cm_jsoncpp_writer.h"
@@ -116,6 +117,9 @@ private:
bool DoActivate(const cmServerRequest& request,
std::string* errorMessage) override;
+ // Handle requests:
+ cmServerResponse ProcessGlobalSettings(const cmServerRequest& request);
+
enum State
{
STATE_INACTIVE,