summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-server.7.rst
Commit message (Collapse)AuthorAgeFilesLines
* server: remove deprecated 'cmake -E server' modeBrad King2020-10-141-739/+2
| | | | | | The server mode has been deprecated since commit 996e1885c4 (server: deprecate in favor of the file-api, 2019-04-19, v3.15.0-rc1~198^2). Clients should now be using the file-api. Remove the server mode.
* server: deprecate in favor of the file-apiBrad King2019-04-221-0/+5
| | | | | | | Document the server mode as deprecated. Add a deprecation message to the configure step output when invoked through server mode. Closes: #19101
* cmake-server: Revert "Support codemodel filegroups for INTERFACE_SOURCES"Brad King2018-10-171-7/+0
| | | | | | | | | | | | | Revert commit v3.13.0-rc1~144^2 (cmake-server: Support codemodel filegroups for INTERFACE_SOURCES, 2018-08-10). The changes activate code paths not meant to be used with interface libraries. Another approach will be needed to expose this information later. This revert has to be done by hand because the code in question has been changed somewhat since the changes were made, and was also factored out to another source file. Fixes: #18463
* cmake-server: Support codemodel filegroups for INTERFACE_SOURCESJustin Goshi2018-08-301-0/+7
| | | | | | | | | This change returns information for INTERFACE_SOURCES. We add a flag to the filegroup to indicate if the target represents interface sources. Protocol version is updated to 1.3 since this is a change to what was released in cmake version 3.12.
* Help: Fix and clarify server mode --pipe= option docsIsrael Blancas2018-05-021-2/+4
| | | | | | Document the `=` in the option name. Clarify the term "named pipe" as an abstraction of local domain sockets on Unix and named pipes on Windows.
* Server-mode: Document protocol version for optional handshake argumentsTobias Hunger2018-01-241-4/+4
| | | | | | | | Document which Protocol version only needs the build directory to be passed during a handshake. This is available a bit earlier than that, but from all I can tell 1.2 is the earliest version where that feature is reliably available.
* Various typo fixesLuz Paz2018-01-031-1/+1
| | | | Some are user-facing. Others are source comments.
* Merge branch 'backport-revert-server-target-backtraces' into ↵Brad King2017-12-061-41/+1
|\ | | | | | | revert-server-target-backtraces
| * server: Revert "Report backtraces in codemodel response"Brad King2017-12-061-41/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The backtrace information is very repetitive and hugely increases the size of the codemodel object. We need to remove it until an alternative representation can be developed. Revert commit v3.10.0-rc1~393^2 (server: Report backtraces in codemodel response, 2017-06-20), except for the protocol version number (because it indicates other new things). Unfortunately this is incompatible with clients that expect the "crossReferences" field in targets. However, the regression in memory usage is quite serious, especially on large projects, and therefore breaks even older clients that do not use backtraces. Since the "crossReferences" field was only provided by one release (3.10.0), it is simplest to revert it outright for 3.10.1. Fixes: #17502
* | server: drop "ctestInfo" backtrace informationBrad King2017-12-061-11/+0
| | | | | | | | | | | | | | | | | | Backtrace information was included by commit 35a52bd1b4 (server: add "ctestInfo" request to get test info, 2017-10-25) to match that already provided for targets. However, the backtrace representation uses too much memory and needs to be dropped. Remove it from test information. Issue: #17502
* | Merge topic 'server-target-isGeneratorProvided'Brad King2017-11-271-0/+2
|\ \ | | | | | | | | | | | | | | | | | | afd9a339 server: return whether or not a target is generator provided Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1475
| * | server: return whether or not a target is generator providedJustin Goshi2017-11-201-0/+2
| | | | | | | | | | | | | | | | | | Some generators auto-generate targets. For example VS generators create the ALL_BUILD target. Add the ability to mark targets as generator provided and return that info through cmake-server codemodel.
* | | server: ctestInfo fix to return all testsJustin Goshi2017-11-171-18/+1
|/ / | | | | | | | | Prior to this change we were looking at targets. But tests are associated with directories. This change fixes how we gather all tests.
* | server: return minimum cmake required version for each projectJustin Goshi2017-11-071-0/+3
| |
* | server: add "ctestInfo" request to get test infoJustin Goshi2017-11-031-0/+73
| |
* | cmake-server: Add target install destinations to codemodelJustin Goshi2017-10-241-0/+6
|/ | | | | Protocol version is updated to 1.2 since this is a change to what was released in cmake version 3.10.
* cmServerProtocol: allow 'cache' request before 'configure'Daniel Pfeifer2017-08-131-2/+1
| | | | Fixes: #16989
* cmServerProtocol: fix test of empty valuesDaniel Pfeifer2017-08-131-1/+3
| | | | | | | If a required value is in the cache, it is not necessary to set it explicitly. Fixes: #16948, #16988
* Merge topic 'server-target-backtraces'Brad King2017-07-131-1/+41
|\ | | | | | | | | | | | | | | 0c572382 server: Report backtraces in codemodel response 4db32275 server: Rename cmServerProtocol1_0 to cmServerProtocol1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !992
| * server: Report backtraces in codemodel responseIvan Shcherbakov2017-07-111-1/+41
| | | | | | | | | | | | | | | | | | | | Report the source locations (e.g. in `CMakeLists.txt`) for all targets and target-related statements. This allows IDEs to locate the statements and automatically edit them when the user adds or removes files or changes target properties via GUI. Increment the protocol minor version number to tell clients that the new information is available.
* | Help: Document server-mode protocol versions more clearlyTobias Hunger2017-06-291-0/+8
|/
* server-mode: Handle generator toolset and platform in handshakeTobias Hunger2016-10-281-1/+3
|
* cmake-server: Change message wrapper to avoid ambiguity with contentBrad King2016-10-241-54/+54
| | | | | | | | | | | | | Change our message wrapper from [== CMake Server ==[ ... ]== CMake Server ==] to [== "CMake Server" ==[ ... ]== "CMake Server" ==] to guarantee that no JSON content can ever contain the ending string (because it would be encoded as `]== \"CMake Server\" ==]`).
* Help: Fix cmake-server documentationTobias Hunger2016-10-211-81/+48
| | | | | | Some information was not updated to reflect the latest implementation. Reported-by: Sylvain Joubert <joubert.sy@gmail.com>
* server-mode: Watch CMakeLists.txt filesTobias Hunger2016-09-291-0/+43
| | | | Watch CMakeLists.txt files (and similar) from the Server
* server-mode: Report watched files to clientTobias Hunger2016-09-291-0/+23
| | | | * Add a command to report watched files and directories to clients.
* server-mode: Report CMakeCache entriesTobias Hunger2016-09-281-0/+36
| | | | | With this it would be possible to implement something like cmake-gui using server-mode.
* server-mode: Add command to retrieve build system filesTobias Hunger2016-09-281-0/+41
| | | | Add a command to retrieve files that are input to cmake itself.
* server-mode: Report information relevant for a codemodelTobias Hunger2016-09-281-0/+184
| | | | | Add "codemodel" command to report information relevant to feed a code model.
* server-mode: Add command to compute the build systemTobias Hunger2016-09-261-0/+19
|
* server-mode: Add a configure commandTobias Hunger2016-09-261-0/+27
| | | | | | | 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.
* server-mode: Set global configuration of cmake via a commandTobias Hunger2016-09-261-0/+26
| | | | | "setGlobalSettings" can be used to change settings reported by "globalSettings" command.
* server-mode: Query global configuration of cmake via a commandTobias Hunger2016-09-261-0/+54
| | | | | | | Add "globalSettings" command that returns: * Return capability information * Return currently used generator/extra generator * Return a range of flags for debug/trace/etc.
* server-mode: Allow for sending signalsTobias Hunger2016-09-221-0/+8
| | | | Enable the server to send signals.
* server-mode: Introduce cmServerConnectionTobias Hunger2016-09-221-4/+9
| | | | | | | | Use it to split pipe and stdin/out handling out of cmServer itself. The server will shut down when it looses its connection to the client. This has the nice property that a crashing client will cause the server to terminate as the OS will close the connection on behave of the client.
* server-mode: Add debug supportTobias Hunger2016-09-201-0/+34
| | | | | | | | | | Enable the server to support development with some helper tools: You can now request debug information with statistics on how long execution of a command took, how long it took to serialize the JSON files, and how big the serialized JSON string is. Also allow to dump results into a file.
* server-mode: Report Messages from cmake to clientsTobias Hunger2016-09-201-0/+15
| | | | | Pass messages sent from cmake via Error(...) or Message(...) on to clients.
* cmake-server: Add documentationTobias Hunger2016-09-191-0/+188