| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Issue: #27285
|
| |\
| |
| |
| |
| |
| |
| |
| | |
54161c70d5 cmListFileLexer: Do not require files to be seekable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11162
|
| | |
| |
| |
| |
| |
| | |
Read the BOM sequentially and store the read bytes for later use if
these do not correspond to a BOM. This allows FIFO to be used as input,
e.g., for piping input or Bash process substitution.
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| | |
Closes: #27213
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
c393300e2b cmake: Restore acceptance of -DCMAKE_TOOLCHAIN_FILE=//... on non-Windows
cf0f46ed85 Tests/RunCMake/CommandLine: Simplify --toolchain cases
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10901
|
| | | |
| | |
| | |
| | | |
Fixes: #24923
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
This will allow JSON schemas for these two types of files to describe the
version-specific content without requiring any outside information.
Fixes: #27031
|
| | | |
| | |
| | |
| | |
| | | |
Update documentation to mark the generator deprecated. Add a warning at
the end of generation plus an option to turn off the warning.
|
| |\ \ \
| |/ /
|/| /
| |/
| |
| |
| |
| |
| | |
c393300e2b cmake: Restore acceptance of -DCMAKE_TOOLCHAIN_FILE=//... on non-Windows
cf0f46ed85 Tests/RunCMake/CommandLine: Simplify --toolchain cases
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10901
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
POSIX specifies that two leading slashes have implementation-defined
interpretation, so CMake 3.31 and below did not normalize away leading
double slashes. However, most implementations simply treat a leading
`//` as just `/`, so CMake 4.0 now normalizes them away when they do not
correspond to a network path on Windows.
This change exposed that we were not normalizing `CMAKE_TOOLCHAIN_FILE`
before passing its value to `include()` the first time if it was not
passed with the `FILEPATH` or `PATH` cache entry type. Fix that.
Fixes: #27010
|
| | | |
|
| |\ \
| |/
| |
| |
| |
| |
| |
| | |
cd4e72ca08 Normalize PWD environment variable before using it
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10659
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| | |
The IAR platform offers an integrated static analysis tool named
IAR C-STAT.
Closes: #26844
|
| |\ \
| |/
| |
| |
| |
| |
| | |
01f92efeb0 Restore expansion of leading '~' as home directory in input paths
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10580
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
| |
Also for --open.
Fixes: #11166
|
| |
|
|
|
| |
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
|