Commit Graph

66454 Commits

Author SHA1 Message Date
Kitware Robot 68124fbc75 CMake Nightly Date Stamp 2024-06-15 00:01:36 -04:00
Brad King ad483258f3 Merge branch 'release-3.30' 2024-06-14 09:58:01 -04:00
Brad King 456ad1e7c0 CMake 3.30.0-rc3 v3.30.0-rc3 2024-06-14 09:32:58 -04:00
Brad King ccc1d713f9 Merge branch 'release-3.30' 2024-06-14 09:28:19 -04:00
Brad King f0963e45b6 Merge topic 'doc-cleanup'
6636b11997 Help: Minor grammar and formatting cleanup
c2390f7676 Help: Fix nuget example with unwanted comment and bad use of rst link

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9600
2024-06-14 09:28:19 -04:00
Brad King 6bf32b7ae6 Merge topic 'doc-cleanup' into release-3.30
6636b11997 Help: Minor grammar and formatting cleanup
c2390f7676 Help: Fix nuget example with unwanted comment and bad use of rst link

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9600
2024-06-14 09:28:18 -04:00
Brad King d48040cb11 Merge branch 'release-3.30' 2024-06-14 09:27:06 -04:00
Brad King a66dfe22d7 Merge topic 'ctest-windows-std-handles'
e4d0169107 ctest: Fix spurious build failures with CTEST_USE_LAUNCHERS on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9598
2024-06-14 09:27:06 -04:00
Brad King 224e7b922f Merge topic 'ctest-windows-std-handles' into release-3.30
e4d0169107 ctest: Fix spurious build failures with CTEST_USE_LAUNCHERS on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9598
2024-06-14 09:27:04 -04:00
Brad King d7f824f585 Merge branch 'release-3.30' 2024-06-14 09:25:40 -04:00
Brad King 33d35b3012 Merge branch 'release-3.29' 2024-06-14 09:25:38 -04:00
Brad King 646a81fec7 Merge branch 'release-3.29' into release-3.30 2024-06-14 09:25:30 -04:00
Brad King 296fdc0df1 Merge topic 'vs-quote-semicolons' into release-3.29
9b672e8075 VS: Quote custom command arguments containing semicolons

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9597
2024-06-14 09:24:48 -04:00
Brad King 1b23cce943 Merge branch 'release-3.30' 2024-06-14 09:24:32 -04:00
Brad King 4d5ac1e94e Merge topic 'vs-quote-semicolons'
9b672e8075 VS: Quote custom command arguments containing semicolons

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9597
2024-06-14 09:24:32 -04:00
Brad King c10ac9e86c Merge topic 'vs-quote-semicolons' into release-3.30
9b672e8075 VS: Quote custom command arguments containing semicolons

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9597
2024-06-14 09:24:31 -04:00
Brad King 8f913eec08 Merge branch 'release-3.30' 2024-06-14 09:23:31 -04:00
Brad King b7ba0400f4 Merge topic 'xcode-16'
b243c19986 Tests: Update expected results for Xcode 16

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9596
2024-06-14 09:23:30 -04:00
Brad King 5a37d2f734 Merge topic 'xcode-16' into release-3.30
b243c19986 Tests: Update expected results for Xcode 16

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9596
2024-06-14 09:23:29 -04:00
Brad King 9b672e8075 VS: Quote custom command arguments containing semicolons
The `GoogleTest` module needs this to pass the `TEST_EXECUTOR`
definition to its `GoogleTestAddTests.cmake` helper script in
the `POST_BUILD` command since commit f875c479f5 (GoogleTest: Honor
TEST_LAUNCHER in gtest_discover_tests, 2024-01-17, v3.29.0-rc1~34^2).
Previously it worked only if other characters, such as spaces,
caused the argument to be quoted.  This was exposed by running the
`RunCMake.GoogleTest` test in a path without spaces.

Reported-by: Garrett Campbell <gcampbell@microsoft.com>
2024-06-14 08:24:21 -04:00
Brad King e4d0169107 ctest: Fix spurious build failures with CTEST_USE_LAUNCHERS on Windows
Remove the stdio handle inheritance suppression originally added by
commit f262298bb0 (... do not inherit pipes in child procs for ctest so
it can kill them, 2007-09-11, v2.6.0~1136).  It's not clear what problem
it was trying to solve, was only done in `ctest` and not `cmake`, and
since commit 9c3ffe2474 (BUG: fix problem with stdout and stderr not
showing up in ms dos shells, 2007-09-25, v2.6.0~1066) has not been done
in `ctest` launched under interactive consoles.

Furthermore, the code has been spuriously breaking stdio when `ctest` is
started with both stdout and stderr connected to the same pipe, such as
when `ctest --launch` is used under `ninja`.  This is because it used
`DuplicateHandle` with `DUPLICATE_CLOSE_SOURCE` on the stdout handle and
then the stderr handle.  If the handles are the same, then the stderr
handle becomes invalid in between these operations, leading to
likely-undefined behavior.  Since commit 96b3dd329e
(cmCTestLaunchReporter: Replace cmsysProcess with cmUVProcessChain,
2023-07-26, v3.28.0-rc1~138^2~2) this became more noticeable because
`uv_spawn` performs additional verification on stdio handles.

This could be fixed by instead suppressing inheritance via

    SetHandleInformation(h, HANDLE_FLAG_INHERIT, 0);

However, the functionality no longer seems necessary, so remove it.
2024-06-14 07:32:29 -04:00
Craig Scott 6636b11997 Help: Minor grammar and formatting cleanup 2024-06-14 16:19:28 +10:00
Craig Scott c2390f7676 Help: Fix nuget example with unwanted comment and bad use of rst link 2024-06-14 16:17:49 +10:00
Kitware Robot c1e10bad81 CMake Nightly Date Stamp 2024-06-14 00:01:13 -04:00
Brad King b243c19986 Tests: Update expected results for Xcode 16
In `Tests/RunCMake/LinkerSelection`, Xcode 16 warns when building the
AppleClassic case:

    ld: warning: -ld_classic is deprecated and will be removed
                 in a future release

Tolerate all build warnings.
2024-06-13 09:16:34 -04:00
Brad King 961194ab8b Merge topic 'sunpro'
8a33068afe visibility: add support for Oracle Developer Studio 12.6

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9594
2024-06-13 07:27:33 -04:00
Kitware Robot fce6adfa22 CMake Nightly Date Stamp 2024-06-13 00:01:13 -04:00
Brad King b124d91855 Merge branch 'release-3.30' 2024-06-12 09:59:24 -04:00
Brad King aecdab3833 CMake 3.30.0-rc2 v3.30.0-rc2 2024-06-12 09:22:29 -04:00
Carlo Marcelo Arenas Belón 8a33068afe visibility: add support for Oracle Developer Studio 12.6
While an `-fvisibility` flag was added in the previous version, it
throws warnings indicating it would be ignored unless given to the
linker and fails to work properly.

Tested on Solaris 11.3 SPARC and Solaris 11.4 x86/SPARC.
2024-06-12 03:05:28 -07:00
Kitware Robot 3f7493de72 CMake Nightly Date Stamp 2024-06-12 00:01:14 -04:00
Brad King 0b56684f73 Merge branch 'release-3.30' 2024-06-11 11:25:59 -04:00
Brad King 2b6b102435 Merge topic 'rel-win-wix-4'
f6c2f64d04 Utilities/Release: Update MSI generation to use WIX 4
a8cecc3b7f ci: Update CMake version to 3.30.0-rc1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9591
2024-06-11 11:25:59 -04:00
Brad King 1ffd1da90a Merge topic 'rel-win-wix-4' into release-3.30
f6c2f64d04 Utilities/Release: Update MSI generation to use WIX 4
a8cecc3b7f ci: Update CMake version to 3.30.0-rc1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9591
2024-06-11 11:25:58 -04:00
Brad King 1fdb92e282 Merge branch 'release-3.30' 2024-06-11 10:57:56 -04:00
Brad King 056eb8954c Merge branch 'release-3.29' into release-3.30 2024-06-11 10:57:22 -04:00
Brad King f29ec3bb62 Merge branch 'release-3.30' 2024-06-11 10:56:50 -04:00
Brad King 09f2031825 Merge topic 'clang-ansi-color'
1004cc2b52 Clang: Drop non-existent -fno-ansi-escape-codes flag

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9592
2024-06-11 10:56:50 -04:00
Brad King 4036eafd95 Merge topic 'clang-ansi-color' into release-3.30
1004cc2b52 Clang: Drop non-existent -fno-ansi-escape-codes flag

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9592
2024-06-11 10:56:48 -04:00
Brad King 7c6dcba646 Merge branch 'release-3.28' into release-3.29 2024-06-11 10:56:10 -04:00
Brad King 578ba81424 Merge topic 'clang-ansi-color' into release-3.29
1004cc2b52 Clang: Drop non-existent -fno-ansi-escape-codes flag

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9592
2024-06-11 10:55:59 -04:00
Brad King 63b12b7702 Merge topic 'clang-ansi-color' into release-3.28
1004cc2b52 Clang: Drop non-existent -fno-ansi-escape-codes flag

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9592
2024-06-11 10:55:18 -04:00
Kitware Robot f709e6baaf CMake Nightly Date Stamp 2024-06-11 00:01:12 -04:00
Brad King 00cb3efd05 Merge branch 'release-3.30' 2024-06-10 11:51:57 -04:00
Brad King 16e4014e13 Merge topic 'bash-completion-ctest-cpack'
3889640e8b Auxiliary: Modernize bash completion for ctest and cpack

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9590
2024-06-10 11:51:57 -04:00
Brad King 570c6313ce Merge topic 'bash-completion-ctest-cpack' into release-3.30
3889640e8b Auxiliary: Modernize bash completion for ctest and cpack

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9590
2024-06-10 11:51:56 -04:00
Brad King 7cb9774fe2 Merge branch 'release-3.30' 2024-06-10 11:50:42 -04:00
Brad King 024d503f4c Merge topic 'fc-cmp0168-fresh'
9299cbbdb4 FetchContent: Force cmake --fresh to re-execute direct population steps
e82e2c38c1 Tests: RunCMake.FetchContent should not always force _deps removal
f97b25ec4b Tests: Fix -direct variants of FetchContent tests using wrong files
11b684c449 FetchContent: Fix typos in stamp/step file names
a02eec4a9f FetchContent,ExternalProject: Fix extra semicolons in step commands

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9589
2024-06-10 11:50:41 -04:00
Brad King e623f86043 Merge topic 'fc-cmp0168-fresh' into release-3.30
9299cbbdb4 FetchContent: Force cmake --fresh to re-execute direct population steps
e82e2c38c1 Tests: RunCMake.FetchContent should not always force _deps removal
f97b25ec4b Tests: Fix -direct variants of FetchContent tests using wrong files
11b684c449 FetchContent: Fix typos in stamp/step file names
a02eec4a9f FetchContent,ExternalProject: Fix extra semicolons in step commands

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9589
2024-06-10 11:50:40 -04:00
Brad King f6c2f64d04 Utilities/Release: Update MSI generation to use WIX 4 2024-06-10 11:22:15 -04:00