| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes #22187
|
|
|
|
|
| |
Allows us to provide better error messages when commands such as
`--target` are passed invalid input.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
f78b167a23 cmCommandLineArgument: Provide more information syntax error messages
5aa0dec6b0 cmake: `--build` and `--install` error out when encountering bad flags
928cdb17c5 cmCommandLineArgument: Correctly record parsing failures
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6119
|
| | |
|
| |
| |
| |
| | |
Fixes #22186
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In commit 7f89053953 (cmSystemTools: Return KWSys Status from CreateLink
and CreateSymlink, 2021-04-15) we just took the `-err` from libuv and
treated it as a POSIX error. This is accurate on POSIX, but on Windows
does not match the POSIX error codes.
Use `uv_fs_get_system_error` to get the actual system error code.
This requires libuv 1.38 or higher. Require that for Windows, but
fall back to the previous approach on POSIX.
|
| |
| |
| |
| | |
Detect MSYS as CYGWIN, with the required adaptations.
|
|\ \
| |/
| |
| |
| |
| |
| | |
370bebd921 Add missing 'not' in error messages
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6012
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
79d7bcaf40 cmCommandLineArgument: correctly compute next parse index
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5936
|
| |
| |
| |
| |
| |
| |
| | |
Fixes #21966
Correctly compute the next parse index for `ZeroOrOne` when
it is zero, and for OneOrMore.
|
| |
| |
| |
| |
| |
| | |
This object will contain more detailed directory-level information.
Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
|
| | |
|
|/
|
|
| |
Fixes: #21781
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
6418dabb87 Tests: Add test for toolchains-v1 File API object
1c5bd1bed5 Tests: Add toolchains kind to capabilities test
f72bb2ee0d Help: Add documentation for "toolchains" object kind
bb069c0857 cmFileAPI: Add "toolchains" object kind.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5678
|
| | |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
e6e7f2cab9 cmMakefile: Don't expand bracket arguments in --trace-expand
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5687
|
| |
| |
| |
| |
| |
| | |
Bracket arguments are literal and shouldn't be expanded.
Fixes #21671.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since one depender has multiple dependees, depend makefile generated
same depender line by line, to reduce file size and refine make file
parse speed, merge same dependers to one. And add a testcase for
large depend.make which generated source file includes 20000 header
files and run build and incremental build
Signed-off-by: Wangkai <wangkai86@huawei.com>
Signed-off-by: Zhaoyingdong <zhaoyingdong@huawei.com>
|
| |
| |
| |
| | |
Fixes: #21521
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make handling more consistent:
"-S" -> invalid
"-S/path/to/source" -> valid
"-S /path/to/source" -> valid
"-S=/path/to/source" -> now valid
"-D" -> invalid
"-DStr" -> valid
"-D Str" -> valid
"-D=Str" -> now valid
"--log-level=" -> invalid
"--log-level" -> invalid
"--log-level=2" -> valid
"--log-level 2" -> now valid
|
| |
| |
| |
| |
| | |
Fix two bugs that happened to cancel each other out for cases covered
by our test suite. Add a test case that distinguishes them.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
ea03f50842 llvm_rc: add llvm_rc option filter to correctly pick up all options
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5412
|
| | |
| | |
| | |
| | | |
Fixes: #21315
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
e794509faa XCode: Use -j build option when job capacity is specified by user
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5429
|
| |/ /
| | |
| | |
| | | |
Fixes: #18304
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
b7d7eca66d CMakePresets.json: Rework how --preset argument is handled
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5416
|
| |
| |
| |
| |
| |
| |
| |
| | |
If a path argument with no -S or -B leads to a cache directory,
use that directory as the binary directory. Otherwise, use the
binary directory from the preset.
Fixes: #21311
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
f7a5f28318 cmake: Fix '-E cat' command for binary files on Windows
90b39a5209 cmConsoleBuf: Factor out cout/cerr console buffer management
f1fdd15863 clang-format: Fix include block order in ctest.cxx and cpack.cxx
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5364
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
9952ee063a server: remove deprecated 'cmake -E server' mode
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Merge-request: !5370
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| |
| |
| | |
f7a5f28318 cmake: Fix '-E cat' command for binary files on Windows
90b39a5209 cmConsoleBuf: Factor out cout/cerr console buffer management
f1fdd15863 clang-format: Fix include block order in ctest.cxx and cpack.cxx
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5364
|
| |
| |
| |
| |
| |
| |
| | |
Reset `std::cout` to write in binary mode with no encoding conversions.
Co-Author: Brad King <brad.king@kitware.com>
Fixes: #21295
|
| | |
|
| |
| |
| |
| | |
Fixes: #19575
|
| |
| |
| |
| |
| | |
This test does not need to have the same custom command output generated
by multiple independent targets. Revise the test to avoid that.
|
| | |
|
| |
| |
| |
| |
| | |
Fixes: #20950
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
7cf2f7d2af cmake: Store lowercase command names in profiling output
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5007
|
| |
| |
| |
| |
| |
| |
| | |
This ensures commands can be properly aggregated by tools
processing the profiling output.
Fixes: #20946
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
7d6861f367 fileapi: Extend codemodel targets with language standard
ba835874a4 Add backtrace support for language standard
e43486a639 cmGeneratorTarget: Clarify name of language property lookup helper
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4798
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
provide an argument for default directory permissions in cmake --install
Fixes: #20700
|
| |
| |
| |
| |
| |
| | |
Return 2 when user provides invalid arguments
Fixes: #20815
|
| | |
|
|/
|
|
|
|
| |
It is not an error for the files to be different.
Fixes: #20803
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
9f6d40ee23 fileapi: Extend codemodel targets with PRECOMPILE_HEADERS
b698764a31 Tests: Add a PCH example to RunCMake.FileAPI codemodel-v2
b3812c0e54 Tests: Fix indentation in RunCMake.FileAPI cxx_exe.json
9c48804b69 PCH: Fix source group of per-architecture PCH headers
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4684
|
| | |
|