| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
In commit 5aed3ee49d (cmSystemTools: Add GetLogicalWorkingDirectory,
2024-10-28, v4.0.0-rc1~528^2~6) we incorrectly trusted `PWD` to be a
normalized path so long as its realpath matches the current working
directory.
Fixes: #26870
|
| |
|
|
|
|
|
|
|
|
|
| |
This was accidentally dropped by commit 622596c6b2 (cmSystemTools:
Re-implement ToNormalizedPathOnDisk without translation map, 2024-10-30,
v4.0.0-rc1~528^2~5). Previously it was done by `CollapseFullPath`.
`cm::PathResolver` intentionally does not expand `~` because it makes
sense only for transforming input paths. Teach `ToNormalizedPathOnDisk`
to handle it directly.
Fixes: #26827
|
| |
|
|
|
| |
This adds a brief explanation of the optional condition in the `else()`
and removes all legacy usages of `else()` and `end*()` commands.
|
| | |
|
| | |
|
| |
|
|
| |
Closes: #16478
|
| | |
|
| |
|
|
|
| |
For policy-specific tests, use the version before the policy was
introduced. Otherwise, use 3.10 where possible.
|
| |
|
|
| |
This generator has been deprecated since CMake 3.28. Remove it.
|
| |
|
|
|
|
| |
Since commit 03c31b0395 (Drop Visual Studio 9 2008 generator,
2024-05-06, v3.30.0-rc1~134^2), some tests do not need to be
version-dependent.
|
| |\
| |
| |
| |
| |
| |
| |
| | |
c55239e286 cmake: Add flag to list cache entries matching a regex
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9644
|
| | |
| |
| |
| |
| |
| | |
Add a `-LR[A][H] <regex>` flag with similar functionality to `-L[A][H]`,
but instead of listing all cached variables, it show only specific
variables that match the name regex.
|
| |/ |
|
| |
|
|
| |
Fixes: #26018
|
| |
|
|
| |
This generator has been deprecated since CMake 3.27. Remove it.
|
| |
|
|
|
| |
Fixes: #25668
Co-authored-by: Brad King <brad.king@kitware.com>
|
| |
|
|
| |
Fixes: #25023
|
| |
|
|
| |
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
|
| |
|
|
| |
Fixes: #25408
|
| |\
| |
| |
| |
| |
| |
| |
| | |
ab72846794 cmake -E cat: Add ability to print standard input
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8942
|
| | | |
|
| |/
|
|
| |
Fixes: #25383
|
| |\
| |
| |
| |
| |
| |
| |
| | |
4e50320978 Help: Allow help for arbitrary keywords
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8674
|
| | |
| |
| |
| |
| | |
Changes `cmake --help [arg]` to search `Help/*/` instead of `Help/command/`
Allows editors to easily display manual for `<cword>`
|
| |/ |
|
| |
|
|
|
| |
Update documentation to mark the generator deprecated. Add a warning at
the end of generation plus an option to turn off the warning.
|
| |
|
|
| |
This generator has been deprecated since CMake 3.25. Remove it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Depends on cppdap and jsoncpp.
- Add --debugger argument to enable the Debugger.
- Add --debugger-pipe argument for DAP traffics over named pipes.
- Support breakpoints by filenames and line numbers.
- Support exception breakpoints.
- Call stack shows filenames and line numbers.
- Show Cache Variables.
- Show the state of currently defined targets,
tests and directories with their properties.
- Add cmakeVersion to DAP initialize response.
- Include unit tests.
Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
|
| |
|
|
| |
Fixes: #19897
|
| |
|
|
| |
fixes #24415
|
| |
|
|
|
|
|
|
| |
For policy-specific tests, use the version before the policy was
introduced. Otherwise, use 3.5 where possible.
Also, remove `cmake_minimum_required()` and `project()` calls from
individual cases where they are handled by `CMakeLists.txt`.
|
| |\
| |
| |
| |
| |
| |
| | |
d7f440c5db Deprecate Visual Studio 9 2008 generator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8181
|
| | |
| |
| |
| |
| | |
Update documentation to mark the generator deprecated. Add a warning at
the end of generation plus an option to turn off the warning.
|
| |/
|
|
|
|
|
|
| |
The fix in commit 08aa516880 (cmake: Stop parsing after `--` when
detecting script mode, 2022-12-06, v3.26.0-rc1~216^2) only corrected the
case where `-P -- -P <arg>` occurred and not `-P -- -P -<other>`.
Fixes: #24220
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run the `clang-format.bash` script to update all our C and C++ code to a
new style defined by `.clang-format`. Use `clang-format` version 15.
* If you reached this commit for a line in `git blame`, re-run the blame
operation starting at the parent of this commit to see older history
for the content.
* See the parent commit for instructions to rebase a change across this
style transition commit.
Fixes: #24315
|
| |
|
|
|
|
|
| |
Specify the clang-format version in the attribute value instead of its
name.
Issue: #24315
|
| |
|
|
| |
Fixes #21584
|
| |
|
|
|
|
|
| |
Provide clients with a way to get a known set of configure log event
versions.
Issue: #23200
|
| |\
| |
| |
| |
| |
| |
| |
| | |
232467eb1c clang-tidy: add <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR property
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7982
|
| | |
| |
| |
| | |
Fixes: #21362
|
| |/
|
|
| |
Fixes #24220
|
| |\
| |
| |
| |
| |
| |
| | |
8d9069e5b6 cmake -E copy: Add support for -t argument
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7913
|
| | |
| |
| |
| | |
Fixes: #23543
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
01611f8258 cmake: --build improve detection of no build dir
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7908
|
| | |/
| |
| |
| | |
Fixes #24157
|
| |/
|
|
|
|
|
| |
The top-level project() call will now issue an AUTHOR_WARNING if it
wasn't called after cmake_minimum_required().
Fixes: #24071
|
| |
|
|
|
|
|
| |
This includes listing the filesets themselves as well as which file set
(if any) each source file is associated with.
Fixes: #24128
|
| |
|
|
|
|
|
|
| |
The `lf` and `crlf` files need to have exact LF and CRLF newlines,
respectively. Previously we used the Git `eol` attribute for this,
but occasionally the Git work tree ends up without the conversion.
It is unclear why that happens, so try to avoid the problem by
treating their content as binary instead.
|
| | |
|
| |
|
|
|
| |
Add ability to specify another cmake instance from which to get the
trace output target. Use this during try_compile.
|