Brad King
68950c529a
Merge topic 'cmake-presets-list-workflow-type'
...
75cfbef780 cmake: Support --list-presets=workflow
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Tested-by: Craig Scott <craig.scott@crascit.com >
Merge-request: !7816
2022-10-24 12:33:32 -04:00
Brad King
25cc0e3715
Merge branch 'release-3.25'
2022-10-24 12:31:16 -04:00
Brad King
5bbca910e5
Merge topic 'doc-ctest'
...
36d76ed07c Help: cmake(1), ctest(1), versionadded for key flags
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7815
2022-10-24 12:31:16 -04:00
Brad King
29f66bd1cf
Merge topic 'doc-ctest' into release-3.25
...
36d76ed07c Help: cmake(1), ctest(1), versionadded for key flags
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7815
2022-10-24 12:31:15 -04:00
Brad King
2df71170b0
Merge branch 'release-3.25'
2022-10-24 12:21:40 -04:00
Brad King
916bf06a2f
Merge topic 'fix_narrow_conversion'
...
f3c918ef1b cmGlobalVisualStudioGenerator: Fix compiling as C++20 in VS 2022
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7814
2022-10-24 12:21:40 -04:00
Brad King
30fcc4460f
Merge topic 'fix_narrow_conversion' into release-3.25
...
f3c918ef1b cmGlobalVisualStudioGenerator: Fix compiling as C++20 in VS 2022
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7814
2022-10-24 12:21:39 -04:00
Kitware Robot
b295b9951f
CMake Nightly Date Stamp
2022-10-24 00:01:23 -04:00
Kitware Robot
59102e06ec
CMake Nightly Date Stamp
2022-10-23 00:01:09 -04:00
Kitware Robot
0678461170
CMake Nightly Date Stamp
2022-10-22 00:01:19 -04:00
Werner, Joerg
f3c918ef1b
cmGlobalVisualStudioGenerator: Fix compiling as C++20 in VS 2022
...
Adding missing narrow string conversion.
2022-10-21 11:01:16 -04:00
Michael Hirsch
36d76ed07c
Help: cmake(1), ctest(1), versionadded for key flags
2022-10-21 10:55:15 -04:00
Kyle Edwards
75cfbef780
cmake: Support --list-presets=workflow
...
Fixes : #24072
2022-10-21 10:21:21 -04:00
Brad King
bcf203226a
Merge branch 'release-3.25'
2022-10-21 10:19:54 -04:00
Brad King
a0523f81d1
Merge topic 'doc-cli-xrefs'
...
3043c17039 Help: Add more CLI `:option:` references to various pages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7811
2022-10-21 10:19:54 -04:00
Brad King
63d28469cd
Merge topic 'doc-cli-xrefs' into release-3.25
...
3043c17039 Help: Add more CLI `:option:` references to various pages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7811
2022-10-21 10:19:53 -04:00
Brad King
6b878f7e83
Merge branch 'release-3.25'
2022-10-21 10:18:52 -04:00
Brad King
8a3951a5f4
Merge topic 'doc-find_package-search-path-versionadded'
...
65dc8aa8b3 Help: Mention CMake version for a recently-added `find_package` search path
93871cb5a9 Help: Reformat find_package search paths as Sphinx tables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7810
2022-10-21 10:18:52 -04:00
Brad King
fbea7d4181
Merge topic 'doc-find_package-search-path-versionadded' into release-3.25
...
65dc8aa8b3 Help: Mention CMake version for a recently-added `find_package` search path
93871cb5a9 Help: Reformat find_package search paths as Sphinx tables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7810
2022-10-21 10:18:51 -04:00
Brad King
ab8e88191b
Merge branch 'release-3.25'
2022-10-21 10:12:23 -04:00
Brad King
28f80fada4
Merge branch 'release-3.24'
2022-10-21 10:12:21 -04:00
Brad King
09bbae2ee8
Merge branch 'release-3.23'
2022-10-21 10:12:20 -04:00
Brad King
55764f873c
Merge branch 'release-3.24' into release-3.25
2022-10-21 10:11:54 -04:00
Brad King
b6ddcbc7ec
Merge branch 'release-3.23' into release-3.24
2022-10-21 10:11:37 -04:00
Brad King
ac732136c6
Merge branch 'release-3.25'
2022-10-21 10:06:22 -04:00
Brad King
7c71f9b1e8
Merge topic 'filesystem-path-c++03-abi'
...
ee9805ccd1 cm/filesystem: Fix crash with pre-C++11 std::string GNU ABI in C++17
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7813
2022-10-21 10:06:22 -04:00
Brad King
d44340115f
Merge topic 'filesystem-path-c++03-abi' into release-3.25
...
ee9805ccd1 cm/filesystem: Fix crash with pre-C++11 std::string GNU ABI in C++17
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7813
2022-10-21 10:06:20 -04:00
Brad King
714440fdf2
Merge branch 'release-3.25'
2022-10-21 10:05:19 -04:00
Brad King
479635bd04
Merge topic 'test-git-protocol-file'
...
79ce0f434e Tests: Explicitly allow usage of git file-based protocol in test cases
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7812
2022-10-21 10:05:19 -04:00
Brad King
32c0f964bc
Merge topic 'test-git-protocol-file' into release-3.25
...
79ce0f434e Tests: Explicitly allow usage of git file-based protocol in test cases
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7812
2022-10-21 10:05:18 -04:00
Kitware Robot
a0ccaaa459
CMake Nightly Date Stamp
2022-10-21 00:01:16 -04:00
Brad King
47063db58d
Merge branch 'filesystem-path-c++03-abi' into release-3.24
...
Merge-request: !7813
2022-10-20 19:03:52 -04:00
Brad King
199b3e580d
Merge branch 'filesystem-path-c++03-abi' into release-3.23
...
Merge-request: !7813
2022-10-20 19:03:19 -04:00
Brad King
ee9805ccd1
cm/filesystem: Fix crash with pre-C++11 std::string GNU ABI in C++17
...
The `remove_filename` and `replace_extension` methods compute an offset
between the whole path in a `std::string` and a part of a path in a
`std::string_view`. This is done by subtracting their `.data()`
pointers. However, C++17 adds a non-const `.data()` through which
modification of the string is allowed. This means the copy-on-write
implementation used by the pre-C++11 std::string GNU ABI must reallocate
if the string has been copied. Our subtraction then computes an offset
between two different allocations, which is undefined behavior.
The workaround in commit b3ca4f9ad1 (cm/filesystem: Work around crash
when compiled for CYGWIN/MSYS runtime, 2021-04-22, v3.21.0-rc1~271^2~2)
avoided the problem by calling the non-const `.data()` to reallocate
before constructing the `string_view`. Instead, explicitly call the
const `.data()` method on the string, which does not reallocate.
Fixes : #22090 , #23328
2022-10-20 18:31:50 -04:00
Brad King
81ebea445d
Merge branch 'test-git-protocol-file' into release-3.24
...
Merge-request: !7812
2022-10-20 13:47:08 -04:00
Brad King
79ce0f434e
Tests: Explicitly allow usage of git file-based protocol in test cases
...
Due to CVE-2022-39253, Git 2.30.6 sets `protocol.file.allow=user` by
default. The change has also been backported to other Git versions by
distros. This breaks some of our test cases that use the file-based
protocol locally to simulate real workflows without requiring network
access. In these cases the file protocol is safe, so explicitly enable
it in the tests.
2022-10-20 13:45:01 -04:00
Alex Turbov
3043c17039
Help: Add more CLI :option: references to various pages
2022-10-20 11:21:40 -04:00
Alex Turbov
65dc8aa8b3
Help: Mention CMake version for a recently-added find_package search path
...
Add a `versionadded` mark for the search path added by commit e55c154c5b
(cmFindPackageCommand: Add one more search path, 2022-06-27,
v3.25.0-rc1~339^2~1).
Fixes : #24067
2022-10-20 11:17:46 -04:00
Alex Turbov
93871cb5a9
Help: Reformat find_package search paths as Sphinx tables
2022-10-20 11:17:46 -04:00
Brad King
914e5594ea
Merge topic 'clang-tidy-module-cmstrlen-check'
...
b4e8ddbc2f clang-tidy: enable cmStrLen() check and fix violations
43481a77f9 clang-tidy module: add test for cmStrLen() check
43a88b56af clang-tidy module: add check for cmStrLen()
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7809
2022-10-20 10:04:27 -04:00
Kitware Robot
feb71b5456
CMake Nightly Date Stamp
2022-10-20 00:01:17 -04:00
Kyle Edwards
b4e8ddbc2f
clang-tidy: enable cmStrLen() check and fix violations
2022-10-19 14:51:21 -04:00
Sean Orner
43481a77f9
clang-tidy module: add test for cmStrLen() check
2022-10-19 13:52:58 -04:00
Kyle Edwards
43a88b56af
clang-tidy module: add check for cmStrLen()
...
Co-Authored-by: Joe Blaauboer <jblaauboer67@gmail.com >
2022-10-19 13:51:11 -04:00
Brad King
76ab7db5a1
Merge branch 'release-3.25'
2022-10-19 12:01:42 -04:00
Brad King
7d710abc87
CMake 3.25.0-rc2
v3.25.0-rc2
2022-10-19 11:22:54 -04:00
Brad King
525f3e7490
Merge branch 'release-3.25'
2022-10-19 10:04:30 -04:00
Brad King
1cbf176b97
Merge topic 'cmake-presets-output-junit'
...
bea4ed5430 CTest: Add support for outputJUnitFile in presets
9270a02003 CMakePresets.json: Add outputJUnitFile to test presets schema
757786bb73 Tests: Add test for outputLogFile in CMakePresets.json
b68c3596e7 CMakePresets.json: Disallow extra properties in test output schema
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !7806
2022-10-19 10:04:30 -04:00
Brad King
6fa189f716
Merge topic 'cmake-presets-output-junit' into release-3.25
...
bea4ed5430 CTest: Add support for outputJUnitFile in presets
9270a02003 CMakePresets.json: Add outputJUnitFile to test presets schema
757786bb73 Tests: Add test for outputLogFile in CMakePresets.json
b68c3596e7 CMakePresets.json: Disallow extra properties in test output schema
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !7806
2022-10-19 10:04:29 -04:00
Brad King
c1f8d29f9e
Merge branch 'release-3.25'
2022-10-19 10:00:00 -04:00