| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
CMake's copy of json-cpp is not aware of rvalues yet. It is confusing
to pass the result of std::move to a function that takes a const&
because no move will actually happen. This change may be reverted once
CMake upgrades to a new version of json-cpp.
|
| |
|
|
|
|
| |
Fixes: #16989
|
|
|
|
|
|
|
| |
If a required value is in the cache, it is not necessary to set it
explicitly.
Fixes: #16948, #16988
|
|\
| |
| |
| |
| |
| |
| | |
70272f3c server: Fix crash on missing cache entries
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1096
|
| |
| |
| |
| | |
Test for nullptr before constructing std::string.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
cf0ae55d server: Add support for connections that aren't event based
5ddfb6a4 server: Add connection as part of a request
d4f5d35c server: Refactor to make the event loop owned by server object
5acbf08b Tests: Teach Server test to forward exit code from server process
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !552
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
| |
It will serve additional minor versions.
Suggested-by: Tobias Hunger <tobias.hunger@qt.io>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Named enumeration values are much clearer at call sites and add more
type safety.
|
|\
| |
| |
| |
| |
| |
| | |
8285ad51 server-mode: Make CMAKE_HOME_DIRECTORY more reliable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !611
|
| |
| |
| |
| |
| |
| |
| | |
Make CMAKE_HOME_DIRECTORY detection work more reliably in the face
of symlinks.
Closes #16736
|
| |
| |
| |
| | |
Closes: #16539
|
|\ \
| | |
| | |
| | |
| | | |
7789dd9a server-mode: Call ResetErrorOccured before configure
|
| |/
| |
| |
| | |
Closes: #16506
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
5dec0a23 server-mode: Fix per-source COMPILE_FLAGS genex evaluation
|
| | |
| | |
| | |
| | |
| | |
| | | |
Logic added by commit 1e4bb358 (Add generator expression support to
per-source COMPILE_FLAGS, 2016-10-25) accidentally frees memory before
finishing with it. Revise the logic to hold the memory long enough.
|
|\ \ \
| | |/
| |/|
| | |
| | | |
28e891f0 server-mode: Do not ignore the first cacheArgument on configure
|
| | |
| | |
| | |
| | |
| | | |
SetCacheArgs skips the first argument it gets, so add some padding before
calling it.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
516a2cd3 server-mode: Reset GlobalGenerator before configure
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is what cmake-gui also does to avoid CMake crashing on repeated
attempts to configure it.
Fixes #16423.
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | | |
9a58517d Tests: Add case for Xcode per-config per-source COMPILE_FLAGS diagnostic
1e4bb358 Add generator expression support to per-source COMPILE_FLAGS
|
| | |
| | |
| | |
| | |
| | |
| | | |
This allows users to specify different genex-based compile flags for
each file in a target, e.g. compiling just a single file with `Od/Ox` in
release builds on Visual Studio.
|
|/ / |
|
|\ \
| |/
| |
| |
| |
| | |
42ccbee1 server-mode: Handle generator toolset and platform in handshake
d792491c cmake-server: Better error reporting during handshake
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Catch more problematic input during handshake and report failure.
These were caught before when trying to configure, but it is way better
to get these reports early.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
effa6c83 fix more issues reported by clang-tidy
fb461cac silence selected clang-tidy violations
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| | |
Add UseWatcomQuote state, and remove corresponding method parameters.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a cmOutputConverter to the cmLinkLineComputer and factory methods to
facilitate shell escapes.
Add state to the cmLinkLineComputer to record whether outputting for
response files or for watcom, to satisfy the cmOutputConverter API.
These are constant for the lifetime of the cmLinkLineComputer, even when
its functionality is extended in the future. This also keeps the
signatures of cmLinkLineComputer relatively simple.
Pass the cmComputeLinkInformation as a method parameter so that
cmLinkLineComputer is free from target-specific state. An instance
should be usable for all targets in a directory.
|
|/
|
|
|
|
|
|
|
|
|
| |
CMake has several classes which have too many responsibilities.
cmLocalGenerator is one of them. Start to extract the link line
computation. Create generator-specific implementations of the interface
to account for generator-specific behavior.
Unfortunately MSVC60 has different behavior to everything else and CMake
still generates makefiles for it. Isolate it with MSVC60-specific
names.
|
|
|
|
| |
Watch CMakeLists.txt files (and similar) from the Server
|
|
|
|
| |
* Add a command to report watched files and directories to clients.
|
|
|
|
|
|
|
| |
Enable the server to watch for filesystem changes. This patch includes
* The infrastructure for the file watching
* makes that infrastructure available to cmServerProtocols
* Resets the filesystemwatchers on "configure"
|
|
|
|
|
| |
With this it would be possible to implement something like
cmake-gui using server-mode.
|
|
|
|
| |
Add a command to retrieve files that are input to cmake itself.
|
|
|
|
|
| |
Add "codemodel" command to report information relevant to feed a code
model.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Per-source copyright/license notice headers that spell out copyright holder
names and years are hard to maintain and often out-of-date or plain wrong.
Precise contributor information is already maintained automatically by the
version control tool. Ultimately it is the receiver of a file who is
responsible for determining its licensing status, and per-source notices are
merely a convenience. Therefore it is simpler and more accurate for
each source to have a generic notice of the license name and references to
more detailed information on copyright holders and full license terms.
Our `Copyright.txt` file now contains a list of Contributors whose names
appeared source-level copyright notices. It also references version control
history for more precise information. Therefore we no longer need to spell
out the list of Contributors in each source file notice.
Replace CMake per-source copyright/license notice headers with a short
description of the license and links to `Copyright.txt` and online information
available from "https://cmake.org/licensing". The online URL also handles
cases of modules being copied out of our source into other projects, so we
can drop our notices about replacing links with full license text.
Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
of the replacements mechanically. Manually fix up shebang lines and trailing
newlines in a few files. Manually update the notices in a few files that the
script does not handle.
|
| |
|
|
|
|
|
|
|
| |
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.
|