| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Prepare to add generator expression support to more source properties.
Factor out some duplicated code into a helper to avoid further
duplication.
|
|\
| |
| |
| |
| |
| |
| | |
afd9a339 server: return whether or not a target is generator provided
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1475
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
fe2c2b0f server: ctestInfo fix to return all tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1479
|
| |
| |
| |
| |
| | |
Prior to this change we were looking at targets. But tests are
associated with directories. This change fixes how we gather all tests.
|
|/
|
|
|
| |
Need to check all generators associated with the project because any of
them may have an install rule.
|
| |
|
| |
|
|
|
|
|
| |
Protocol version is updated to 1.2 since this is a change
to what was released in cmake version 3.10.
|
|
|
|
|
|
|
| |
Fix issues diagnosed by clang-tidy by pre-allocating the vector capacity
before the loop [performance-inefficient-vector-operation].
Signed-off-by: Matthias Maennich <matthias@maennich.net>
|
|
|
|
|
|
| |
Changes done via `clang-tidy` with some manual fine-tuning
for the variable naming and `auto` type deduction
where appropriate.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
190e3825 Replace C-style casts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1176
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|