cmServerDictionary.h 3.33 KB
Newer Older
1 2
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
3 4 5 6 7 8
#pragma once

#include <string>

// Vocabulary:

9 10 11
static const std::string kDIRTY_SIGNAL = "dirty";
static const std::string kFILE_CHANGE_SIGNAL = "fileChange";

12
static const std::string kCACHE_TYPE = "cache";
13
static const std::string kCMAKE_INPUTS_TYPE = "cmakeInputs";
14
static const std::string kCODE_MODEL_TYPE = "codemodel";
15
static const std::string kCOMPUTE_TYPE = "compute";
16
static const std::string kCONFIGURE_TYPE = "configure";
17
static const std::string kERROR_TYPE = "error";
18
static const std::string kFILESYSTEM_WATCHERS_TYPE = "fileSystemWatchers";
19
static const std::string kGLOBAL_SETTINGS_TYPE = "globalSettings";
20 21 22 23
static const std::string kHANDSHAKE_TYPE = "handshake";
static const std::string kMESSAGE_TYPE = "message";
static const std::string kPROGRESS_TYPE = "progress";
static const std::string kREPLY_TYPE = "reply";
24
static const std::string kSET_GLOBAL_SETTINGS_TYPE = "setGlobalSettings";
25
static const std::string kSIGNAL_TYPE = "signal";
26
static const std::string kCTEST_INFO_TYPE = "ctestInfo";
27

28
static const std::string kBUILD_FILES_KEY = "buildFiles";
29
static const std::string kCACHE_ARGUMENTS_KEY = "cacheArguments";
30
static const std::string kCACHE_KEY = "cache";
31 32
static const std::string kCAPABILITIES_KEY = "capabilities";
static const std::string kCHECK_SYSTEM_VARS_KEY = "checkSystemVars";
33
static const std::string kCMAKE_ROOT_DIRECTORY_KEY = "cmakeRootDirectory";
34
static const std::string kCOOKIE_KEY = "cookie";
35
static const std::string kDEBUG_OUTPUT_KEY = "debugOutput";
36 37 38 39
static const std::string kERROR_MESSAGE_KEY = "errorMessage";
static const std::string kEXTRA_GENERATOR_KEY = "extraGenerator";
static const std::string kGENERATOR_KEY = "generator";
static const std::string kIS_EXPERIMENTAL_KEY = "isExperimental";
40
static const std::string kKEYS_KEY = "keys";
41 42 43
static const std::string kMAJOR_KEY = "major";
static const std::string kMESSAGE_KEY = "message";
static const std::string kMINOR_KEY = "minor";
44
static const std::string kPLATFORM_KEY = "platform";
45 46 47 48 49 50 51 52 53
static const std::string kPROGRESS_CURRENT_KEY = "progressCurrent";
static const std::string kPROGRESS_MAXIMUM_KEY = "progressMaximum";
static const std::string kPROGRESS_MESSAGE_KEY = "progressMessage";
static const std::string kPROGRESS_MINIMUM_KEY = "progressMinimum";
static const std::string kPROTOCOL_VERSION_KEY = "protocolVersion";
static const std::string kREPLY_TO_KEY = "inReplyTo";
static const std::string kSUPPORTED_PROTOCOL_VERSIONS =
  "supportedProtocolVersions";
static const std::string kTITLE_KEY = "title";
54
static const std::string kTOOLSET_KEY = "toolset";
55 56 57 58 59
static const std::string kTRACE_EXPAND_KEY = "traceExpand";
static const std::string kTRACE_KEY = "trace";
static const std::string kWARN_UNINITIALIZED_KEY = "warnUninitialized";
static const std::string kWARN_UNUSED_CLI_KEY = "warnUnusedCli";
static const std::string kWARN_UNUSED_KEY = "warnUnused";
60 61
static const std::string kWATCHED_DIRECTORIES_KEY = "watchedDirectories";
static const std::string kWATCHED_FILES_KEY = "watchedFiles";
62

63 64
static const std::string kSTART_MAGIC = "[== \"CMake Server\" ==[";
static const std::string kEND_MAGIC = "]== \"CMake Server\" ==]";
65 66 67

static const std::string kRENAME_PROPERTY_VALUE = "rename";
static const std::string kCHANGE_PROPERTY_VALUE = "change";