cmake-server.7.rst 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  1. .. cmake-manual-description: CMake Server
  2. cmake-server(7)
  3. ***************
  4. .. only:: html
  5. .. contents::
  6. Introduction
  7. ============
  8. :manual:`cmake(1)` is capable of providing semantic information about
  9. CMake code it executes to generate a buildsystem. If executed with
  10. the ``-E server`` command line options, it starts in a long running mode
  11. and allows a client to request the available information via a JSON protocol.
  12. The protocol is designed to be useful to IDEs, refactoring tools, and
  13. other tools which have a need to understand the buildsystem in entirety.
  14. A single :manual:`cmake-buildsystem(7)` may describe buildsystem contents
  15. and build properties which differ based on
  16. :manual:`generation-time context <cmake-generator-expressions(7)>`
  17. including:
  18. * The Platform (eg, Windows, APPLE, Linux).
  19. * The build configuration (eg, Debug, Release, Coverage).
  20. * The Compiler (eg, MSVC, GCC, Clang) and compiler version.
  21. * The language of the source files compiled.
  22. * Available compile features (eg CXX variadic templates).
  23. * CMake policies.
  24. The protocol aims to provide information to tooling to satisfy several
  25. needs:
  26. #. Provide a complete and easily parsed source of all information relevant
  27. to the tooling as it relates to the source code. There should be no need
  28. for tooling to parse generated buildsystems to access include directories
  29. or compile definitions for example.
  30. #. Semantic information about the CMake buildsystem itself.
  31. #. Provide a stable interface for reading the information in the CMake cache.
  32. #. Information for determining when cmake needs to be re-run as a result of
  33. file changes.
  34. Operation
  35. =========
  36. Start :manual:`cmake(1)` in the server command mode, supplying the path to
  37. the build directory to process::
  38. cmake -E server (--debug|--pipe <NAMED_PIPE>)
  39. The server will communicate using stdin/stdout (with the ``--debug`` parameter)
  40. or using a named pipe (with the ``--pipe <NAMED_PIPE>`` parameter).
  41. When connecting to the server (via named pipe or by starting it in ``--debug``
  42. mode), the server will reply with a hello message::
  43. [== "CMake Server" ==[
  44. {"supportedProtocolVersions":[{"major":1,"minor":0}],"type":"hello"}
  45. ]== "CMake Server" ==]
  46. Messages sent to and from the process are wrapped in magic strings::
  47. [== "CMake Server" ==[
  48. {
  49. ... some JSON message ...
  50. }
  51. ]== "CMake Server" ==]
  52. The server is now ready to accept further requests via the named pipe
  53. or stdin.
  54. Debugging
  55. =========
  56. CMake server mode can be asked to provide statistics on execution times, etc.
  57. or to dump a copy of the response into a file. This is done passing a "debug"
  58. JSON object as a child of the request.
  59. The debug object supports the "showStats" key, which takes a boolean and makes
  60. the server mode return a "zzzDebug" object with stats as part of its response.
  61. "dumpToFile" takes a string value and will cause the cmake server to copy
  62. the response into the given filename.
  63. This is a response from the cmake server with "showStats" set to true::
  64. [== "CMake Server" ==[
  65. {
  66. "cookie":"",
  67. "errorMessage":"Waiting for type \"handshake\".",
  68. "inReplyTo":"unknown",
  69. "type":"error",
  70. "zzzDebug": {
  71. "dumpFile":"/tmp/error.txt",
  72. "jsonSerialization":0.011016,
  73. "size":111,
  74. "totalTime":0.025995
  75. }
  76. }
  77. ]== "CMake Server" ==]
  78. The server has made a copy of this response into the file /tmp/error.txt and
  79. took 0.011 seconds to turn the JSON response into a string, and it took 0.025
  80. seconds to process the request in total. The reply has a size of 111 bytes.
  81. Protocol API
  82. ============
  83. General Message Layout
  84. ----------------------
  85. All messages need to have a "type" value, which identifies the type of
  86. message that is passed back or forth. E.g. the initial message sent by the
  87. server is of type "hello". Messages without a type will generate an response
  88. of type "error".
  89. All requests sent to the server may contain a "cookie" value. This value
  90. will he handed back unchanged in all responses triggered by the request.
  91. All responses will contain a value "inReplyTo", which may be empty in
  92. case of parse errors, but will contain the type of the request message
  93. in all other cases.
  94. Type "reply"
  95. ^^^^^^^^^^^^
  96. This type is used by the server to reply to requests.
  97. The message may -- depending on the type of the original request --
  98. contain values.
  99. Example::
  100. [== "CMake Server" ==[
  101. {"cookie":"zimtstern","inReplyTo":"handshake","type":"reply"}
  102. ]== "CMake Server" ==]
  103. Type "error"
  104. ^^^^^^^^^^^^
  105. This type is used to return an error condition to the client. It will
  106. contain an "errorMessage".
  107. Example::
  108. [== "CMake Server" ==[
  109. {"cookie":"","errorMessage":"Protocol version not supported.","inReplyTo":"handshake","type":"error"}
  110. ]== "CMake Server" ==]
  111. Type "progress"
  112. ^^^^^^^^^^^^^^^
  113. When the server is busy for a long time, it is polite to send back replies of
  114. type "progress" to the client. These will contain a "progressMessage" with a
  115. string describing the action currently taking place as well as
  116. "progressMinimum", "progressMaximum" and "progressCurrent" with integer values
  117. describing the range of progress.
  118. Messages of type "progress" will be followed by more "progress" messages or with
  119. a message of type "reply" or "error" that complete the request.
  120. "progress" messages may not be emitted after the "reply" or "error" message for
  121. the request that triggered the responses was delivered.
  122. Type "message"
  123. ^^^^^^^^^^^^^^
  124. A message is triggered when the server processes a request and produces some
  125. form of output that should be displayed to the user. A Message has a "message"
  126. with the actual text to display as well as a "title" with a suggested dialog
  127. box title.
  128. Example::
  129. [== "CMake Server" ==[
  130. {"cookie":"","message":"Something happened.","title":"Title Text","inReplyTo":"handshake","type":"message"}
  131. ]== "CMake Server" ==]
  132. Type "signal"
  133. ^^^^^^^^^^^^^
  134. The server can send signals when it detects changes in the system state. Signals
  135. are of type "signal", have an empty "cookie" and "inReplyTo" field and always
  136. have a "name" set to show which signal was sent.
  137. Specific Signals
  138. ----------------
  139. The cmake server may sent signals with the following names:
  140. "dirty" Signal
  141. ^^^^^^^^^^^^^^
  142. The "dirty" signal is sent whenever the server determines that the configuration
  143. of the project is no longer up-to-date. This happens when any of the files that have
  144. an influence on the build system is changed.
  145. The "dirty" signal may look like this::
  146. [== "CMake Server" ==[
  147. {
  148. "cookie":"",
  149. "inReplyTo":"",
  150. "name":"dirty",
  151. "type":"signal"}
  152. ]== "CMake Server" ==]
  153. "fileChange" Signal
  154. ^^^^^^^^^^^^^^^^^^^
  155. The "fileChange" signal is sent whenever a watched file is changed. It contains
  156. the "path" that has changed and a list of "properties" with the kind of change
  157. that was detected. Possible changes are "change" and "rename".
  158. The "fileChange" signal looks like this::
  159. [== "CMake Server" ==[
  160. {
  161. "cookie":"",
  162. "inReplyTo":"",
  163. "name":"fileChange",
  164. "path":"/absolute/CMakeLists.txt",
  165. "properties":["change"],
  166. "type":"signal"}
  167. ]== "CMake Server" ==]
  168. Specific Message Types
  169. ----------------------
  170. Type "hello"
  171. ^^^^^^^^^^^^
  172. The initial message send by the cmake server on startup is of type "hello".
  173. This is the only message ever sent by the server that is not of type "reply",
  174. "progress" or "error".
  175. It will contain "supportedProtocolVersions" with an array of server protocol
  176. versions supported by the cmake server. These are JSON objects with "major" and
  177. "minor" keys containing non-negative integer values. Some versions may be marked
  178. as experimental. These will contain the "isExperimental" key set to true. Enabling
  179. these requires a special command line argument when starting the cmake server mode.
  180. Within a "major" version all "minor" versions are fully backwards compatible.
  181. New "minor" versions may introduce functionality in such a way that existing
  182. clients of the same "major" version will continue to work, provided they
  183. ignore keys in the output that they do not know about.
  184. Example::
  185. [== "CMake Server" ==[
  186. {"supportedProtocolVersions":[{"major":0,"minor":1}],"type":"hello"}
  187. ]== "CMake Server" ==]
  188. Type "handshake"
  189. ^^^^^^^^^^^^^^^^
  190. The first request that the client may send to the server is of type "handshake".
  191. This request needs to pass one of the "supportedProtocolVersions" of the "hello"
  192. type response received earlier back to the server in the "protocolVersion" field.
  193. Giving the "major" version of the requested protocol version will make the server
  194. use the latest minor version of that protocol. Use this if you do not explicitly
  195. need to depend on a specific minor version.
  196. Protocol version 1.0 requires the following attributes to be set:
  197. * "sourceDirectory" with a path to the sources
  198. * "buildDirectory" with a path to the build directory
  199. * "generator" with the generator name
  200. * "extraGenerator" (optional!) with the extra generator to be used
  201. * "platform" with the generator platform (if supported by the generator)
  202. * "toolset" with the generator toolset (if supported by the generator)
  203. Protocol version 1.2 makes all but the build directory optional, provided
  204. there is a valid cache in the build directory that contains all the other
  205. information already.
  206. Example::
  207. [== "CMake Server" ==[
  208. {"cookie":"zimtstern","type":"handshake","protocolVersion":{"major":0},
  209. "sourceDirectory":"/home/code/cmake", "buildDirectory":"/tmp/testbuild",
  210. "generator":"Ninja"}
  211. ]== "CMake Server" ==]
  212. which will result in a response type "reply"::
  213. [== "CMake Server" ==[
  214. {"cookie":"zimtstern","inReplyTo":"handshake","type":"reply"}
  215. ]== "CMake Server" ==]
  216. indicating that the server is ready for action.
  217. Type "globalSettings"
  218. ^^^^^^^^^^^^^^^^^^^^^
  219. This request can be sent after the initial handshake. It will return a
  220. JSON structure with information on cmake state.
  221. Example::
  222. [== "CMake Server" ==[
  223. {"type":"globalSettings"}
  224. ]== "CMake Server" ==]
  225. which will result in a response type "reply"::
  226. [== "CMake Server" ==[
  227. {
  228. "buildDirectory": "/tmp/test-build",
  229. "capabilities": {
  230. "generators": [
  231. {
  232. "extraGenerators": [],
  233. "name": "Watcom WMake",
  234. "platformSupport": false,
  235. "toolsetSupport": false
  236. },
  237. <...>
  238. ],
  239. "serverMode": false,
  240. "version": {
  241. "isDirty": false,
  242. "major": 3,
  243. "minor": 6,
  244. "patch": 20160830,
  245. "string": "3.6.20160830-gd6abad",
  246. "suffix": "gd6abad"
  247. }
  248. },
  249. "checkSystemVars": false,
  250. "cookie": "",
  251. "extraGenerator": "",
  252. "generator": "Ninja",
  253. "debugOutput": false,
  254. "inReplyTo": "globalSettings",
  255. "sourceDirectory": "/home/code/cmake",
  256. "trace": false,
  257. "traceExpand": false,
  258. "type": "reply",
  259. "warnUninitialized": false,
  260. "warnUnused": false,
  261. "warnUnusedCli": true
  262. }
  263. ]== "CMake Server" ==]
  264. Type "setGlobalSettings"
  265. ^^^^^^^^^^^^^^^^^^^^^^^^
  266. This request can be sent to change the global settings attributes. Unknown
  267. attributes are going to be ignored. Read-only attributes reported by
  268. "globalSettings" are all capabilities, buildDirectory, generator,
  269. extraGenerator and sourceDirectory. Any attempt to set these will be ignored,
  270. too.
  271. All other settings will be changed.
  272. The server will respond with an empty reply message or an error.
  273. Example::
  274. [== "CMake Server" ==[
  275. {"type":"setGlobalSettings","debugOutput":true}
  276. ]== "CMake Server" ==]
  277. CMake will reply to this with::
  278. [== "CMake Server" ==[
  279. {"inReplyTo":"setGlobalSettings","type":"reply"}
  280. ]== "CMake Server" ==]
  281. Type "configure"
  282. ^^^^^^^^^^^^^^^^
  283. This request will configure a project for build.
  284. To configure a build directory already containing cmake files, it is enough to
  285. set "buildDirectory" via "setGlobalSettings". To create a fresh build directory
  286. you also need to set "currentGenerator" and "sourceDirectory" via "setGlobalSettings"
  287. in addition to "buildDirectory".
  288. You may a list of strings to "configure" via the "cacheArguments" key. These
  289. strings will be interpreted similar to command line arguments related to
  290. cache handling that are passed to the cmake command line client.
  291. Example::
  292. [== "CMake Server" ==[
  293. {"type":"configure", "cacheArguments":["-Dsomething=else"]}
  294. ]== "CMake Server" ==]
  295. CMake will reply like this (after reporting progress for some time)::
  296. [== "CMake Server" ==[
  297. {"cookie":"","inReplyTo":"configure","type":"reply"}
  298. ]== "CMake Server" ==]
  299. Type "compute"
  300. ^^^^^^^^^^^^^^
  301. This request will generate build system files in the build directory and
  302. is only available after a project was successfully "configure"d.
  303. Example::
  304. [== "CMake Server" ==[
  305. {"type":"compute"}
  306. ]== "CMake Server" ==]
  307. CMake will reply (after reporting progress information)::
  308. [== "CMake Server" ==[
  309. {"cookie":"","inReplyTo":"compute","type":"reply"}
  310. ]== "CMake Server" ==]
  311. Type "codemodel"
  312. ^^^^^^^^^^^^^^^^
  313. The "codemodel" request can be used after a project was "compute"d successfully.
  314. It will list the complete project structure as it is known to cmake.
  315. The reply will contain a key "configurations", which will contain a list of
  316. configuration objects. Configuration objects are used to destinquish between
  317. different configurations the build directory might have enabled. While most
  318. generators only support one configuration, others might support several.
  319. Each configuration object can have the following keys:
  320. "name"
  321. contains the name of the configuration. The name may be empty.
  322. "projects"
  323. contains a list of project objects, one for each build project.
  324. Project objects define one (sub-)project defined in the cmake build system.
  325. Each project object can have the following keys:
  326. "name"
  327. contains the (sub-)projects name.
  328. "minimumCMakeVersion"
  329. contains the minimum cmake version allowed for this project, null if the
  330. project doesn't specify one.
  331. "hasInstallRule"
  332. true if the project contains any install rules, false otherwise.
  333. "sourceDirectory"
  334. contains the current source directory
  335. "buildDirectory"
  336. contains the current build directory.
  337. "targets"
  338. contains a list of build system target objects.
  339. Target objects define individual build targets for a certain configuration.
  340. Each target object can have the following keys:
  341. "name"
  342. contains the name of the target.
  343. "type"
  344. defines the type of build of the target. Possible values are
  345. "STATIC_LIBRARY", "MODULE_LIBRARY", "SHARED_LIBRARY", "OBJECT_LIBRARY",
  346. "EXECUTABLE", "UTILITY" and "INTERFACE_LIBRARY".
  347. "fullName"
  348. contains the full name of the build result (incl. extensions, etc.).
  349. "sourceDirectory"
  350. contains the current source directory.
  351. "buildDirectory"
  352. contains the current build directory.
  353. "isGeneratorProvided"
  354. true if the target is auto-created by a generator, false otherwise
  355. "hasInstallRule"
  356. true if the target contains any install rules, false otherwise.
  357. "installPaths"
  358. full path to the destination directories defined by target install rules.
  359. "artifacts"
  360. with a list of build artifacts. The list is sorted with the most
  361. important artifacts first (e.g. a .DLL file is listed before a
  362. .PDB file on windows).
  363. "linkerLanguage"
  364. contains the language of the linker used to produce the artifact.
  365. "linkLibraries"
  366. with a list of libraries to link to. This value is encoded in the
  367. system's native shell format.
  368. "linkFlags"
  369. with a list of flags to pass to the linker. This value is encoded in
  370. the system's native shell format.
  371. "linkLanguageFlags"
  372. with the flags for a compiler using the linkerLanguage. This value is
  373. encoded in the system's native shell format.
  374. "frameworkPath"
  375. with the framework path (on Apple computers). This value is encoded
  376. in the system's native shell format.
  377. "linkPath"
  378. with the link path. This value is encoded in the system's native shell
  379. format.
  380. "sysroot"
  381. with the sysroot path.
  382. "fileGroups"
  383. contains the source files making up the target.
  384. FileGroups are used to group sources using similar settings together.
  385. Each fileGroup object may contain the following keys:
  386. "language"
  387. contains the programming language used by all files in the group.
  388. "compileFlags"
  389. with a string containing all the flags passed to the compiler
  390. when building any of the files in this group. This value is encoded in
  391. the system's native shell format.
  392. "includePath"
  393. with a list of include paths. Each include path is an object
  394. containing a "path" with the actual include path and "isSystem" with a bool
  395. value informing whether this is a normal include or a system include. This
  396. value is encoded in the system's native shell format.
  397. "defines"
  398. with a list of defines in the form "SOMEVALUE" or "SOMEVALUE=42". This
  399. value is encoded in the system's native shell format.
  400. "sources"
  401. with a list of source files.
  402. All file paths in the fileGroup are either absolute or relative to the
  403. sourceDirectory of the target.
  404. Example::
  405. [== "CMake Server" ==[
  406. {"type":"codemodel"}
  407. ]== "CMake Server" ==]
  408. CMake will reply::
  409. [== "CMake Server" ==[
  410. {
  411. "configurations": [
  412. {
  413. "name": "",
  414. "projects": [
  415. {
  416. "buildDirectory": "/tmp/build/Source/CursesDialog/form",
  417. "name": "CMAKE_FORM",
  418. "sourceDirectory": "/home/code/src/cmake/Source/CursesDialog/form",
  419. "targets": [
  420. {
  421. "artifacts": [ "/tmp/build/Source/CursesDialog/form/libcmForm.a" ],
  422. "buildDirectory": "/tmp/build/Source/CursesDialog/form",
  423. "fileGroups": [
  424. {
  425. "compileFlags": " -std=gnu11",
  426. "defines": [ "CURL_STATICLIB", "LIBARCHIVE_STATIC" ],
  427. "includePath": [ { "path": "/tmp/build/Utilities" }, <...> ],
  428. "isGenerated": false,
  429. "language": "C",
  430. "sources": [ "fld_arg.c", <...> ]
  431. }
  432. ],
  433. "fullName": "libcmForm.a",
  434. "linkerLanguage": "C",
  435. "name": "cmForm",
  436. "sourceDirectory": "/home/code/src/cmake/Source/CursesDialog/form",
  437. "type": "STATIC_LIBRARY"
  438. }
  439. ]
  440. },
  441. <...>
  442. ]
  443. }
  444. ],
  445. "cookie": "",
  446. "inReplyTo": "codemodel",
  447. "type": "reply"
  448. }
  449. ]== "CMake Server" ==]
  450. Type "ctestInfo"
  451. ^^^^^^^^^^^^^^^^
  452. The "ctestInfo" request can be used after a project was "compute"d successfully.
  453. It will list the complete project test structure as it is known to cmake.
  454. The reply will contain a key "configurations", which will contain a list of
  455. configuration objects. Configuration objects are used to destinquish between
  456. different configurations the build directory might have enabled. While most
  457. generators only support one configuration, others might support several.
  458. Each configuration object can have the following keys:
  459. "name"
  460. contains the name of the configuration. The name may be empty.
  461. "projects"
  462. contains a list of project objects, one for each build project.
  463. Project objects define one (sub-)project defined in the cmake build system.
  464. Each project object can have the following keys:
  465. "name"
  466. contains the (sub-)projects name.
  467. "ctestInfo"
  468. contains a list of test objects.
  469. Each test object can have the following keys:
  470. "ctestName"
  471. contains the name of the test.
  472. "ctestCommand"
  473. contains the test command.
  474. "properties"
  475. contains a list of test property objects.
  476. Each test property object can have the following keys:
  477. "key"
  478. contains the test property key.
  479. "value"
  480. contains the test property value.
  481. Type "cmakeInputs"
  482. ^^^^^^^^^^^^^^^^^^
  483. The "cmakeInputs" requests will report files used by CMake as part
  484. of the build system itself.
  485. This request is only available after a project was successfully
  486. "configure"d.
  487. Example::
  488. [== "CMake Server" ==[
  489. {"type":"cmakeInputs"}
  490. ]== "CMake Server" ==]
  491. CMake will reply with the following information::
  492. [== "CMake Server" ==[
  493. {"buildFiles":
  494. [
  495. {"isCMake":true,"isTemporary":false,"sources":["/usr/lib/cmake/...", ... ]},
  496. {"isCMake":false,"isTemporary":false,"sources":["CMakeLists.txt", ...]},
  497. {"isCMake":false,"isTemporary":true,"sources":["/tmp/build/CMakeFiles/...", ...]}
  498. ],
  499. "cmakeRootDirectory":"/usr/lib/cmake",
  500. "sourceDirectory":"/home/code/src/cmake",
  501. "cookie":"",
  502. "inReplyTo":"cmakeInputs",
  503. "type":"reply"
  504. }
  505. ]== "CMake Server" ==]
  506. All file names are either relative to the top level source directory or
  507. absolute.
  508. The list of files which "isCMake" set to true are part of the cmake installation.
  509. The list of files witch "isTemporary" set to true are part of the build directory
  510. and will not survive the build directory getting cleaned out.
  511. Type "cache"
  512. ^^^^^^^^^^^^
  513. The "cache" request will list the cached configuration values.
  514. Example::
  515. [== "CMake Server" ==[
  516. {"type":"cache"}
  517. ]== "CMake Server" ==]
  518. CMake will respond with the following output::
  519. [== "CMake Server" ==[
  520. {
  521. "cookie":"","inReplyTo":"cache","type":"reply",
  522. "cache":
  523. [
  524. {
  525. "key":"SOMEVALUE",
  526. "properties":
  527. {
  528. "ADVANCED":"1",
  529. "HELPSTRING":"This is not helpful"
  530. }
  531. "type":"STRING",
  532. "value":"TEST"}
  533. ]
  534. }
  535. ]== "CMake Server" ==]
  536. The output can be limited to a list of keys by passing an array of key names
  537. to the "keys" optional field of the "cache" request.
  538. Type "fileSystemWatchers"
  539. ^^^^^^^^^^^^^^^^^^^^^^^^^
  540. The server can watch the filesystem for changes. The "fileSystemWatchers"
  541. command will report on the files and directories watched.
  542. Example::
  543. [== "CMake Server" ==[
  544. {"type":"fileSystemWatchers"}
  545. ]== "CMake Server" ==]
  546. CMake will respond with the following output::
  547. [== "CMake Server" ==[
  548. {
  549. "cookie":"","inReplyTo":"fileSystemWatchers","type":"reply",
  550. "watchedFiles": [ "/absolute/path" ],
  551. "watchedDirectories": [ "/absolute" ]
  552. }
  553. ]== "CMake Server" ==]