Commit Graph

66402 Commits

Author SHA1 Message Date
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
Kitware Robot cafa2986af CMake Nightly Date Stamp 2024-06-10 00:02:57 -04:00
Kitware Robot 998f256cb1 CMake Nightly Date Stamp 2024-06-09 00:01:30 -04:00
Kitware Robot 57e27f8635 CMake Nightly Date Stamp 2024-06-08 00:01:21 -04:00
Craig Scott 9299cbbdb4 FetchContent: Force cmake --fresh to re-execute direct population steps
Issue: #25468
2024-06-07 18:12:12 +10:00
Craig Scott e82e2c38c1 Tests: RunCMake.FetchContent should not always force _deps removal
To properly test some functionality, tests may rely on not clearing
things like time stamps between cmake invocations. The RunCMake
infrastructure clears the build directory by default anyway, and
tests may individually ask for that to be disabled where needed.

The line being removed here was originally added to assist with
manually re-running individual tests locally outside the control of
RunCMake. That is no longer appropriate.
2024-06-07 17:58:55 +10:00
Craig Scott f97b25ec4b Tests: Fix -direct variants of FetchContent tests using wrong files
The -direct variants of the RunCMake.FetchContent tests were
meant to be using the same result, stdout and stderr files as the
non-direct tests. The -direct tests were specified in the wrong way
for that and ended up using no files at all, so they weren't testing
the full set of expected conditions. Use the test variant feature
provided by the RunCMake infrastructure instead, which is the
proper way to handle this sort of scenario.
2024-06-07 17:58:55 +10:00
Craig Scott 11b684c449 FetchContent: Fix typos in stamp/step file names
The exact file names don't technically matter, but the wrong
names are confusing and misleading.
2024-06-07 16:59:20 +10:00
Craig Scott a02eec4a9f FetchContent,ExternalProject: Fix extra semicolons in step commands
The extra semicolons weren't ultimately causing any errors when
running the step commands, but they shouldn't be there.
2024-06-07 16:58:08 +10:00
Kitware Robot 48827cd746 CMake Nightly Date Stamp 2024-06-07 00:01:14 -04:00
Brad King 887364bbed Merge branch 'release-3.30' 2024-06-06 10:20:03 -04:00
Brad King aa72c5e319 CMake 3.30.0-rc1 v3.30.0-rc1 2024-06-06 09:43:02 -04:00
Brad King b298ab2547 Merge branch 'release-3.30' 2024-06-06 09:36:49 -04:00
Brad King bf645e0577 Merge topic 'doc-preset-specific-macros'
1ea780ea7c Help: Clarify preset-specific macros

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9587
2024-06-06 09:36:49 -04:00
Brad King 29390cd231 Merge topic 'doc-preset-specific-macros' into release-3.30
1ea780ea7c Help: Clarify preset-specific macros

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9587
2024-06-06 09:36:48 -04:00
Brad King f795b909fd Merge branch 'release-3.30' 2024-06-06 09:27:51 -04:00
Brad King e5585ae9e6 Merge branch 'release-3.29' 2024-06-06 09:27:43 -04:00
Brad King b737219f35 Merge branch 'release-3.29' into release-3.30 2024-06-06 09:27:25 -04:00
Brad King facfba088f CMake 3.29.5 v3.29.5 2024-06-06 08:57:14 -04:00
Cristian Le 1ea780ea7c Help: Clarify preset-specific macros
Closes: #26030
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2024-06-06 08:51:16 -04:00
Brad King 89ec09e840 Merge topic 'doc-testing'
8a688e556e Help/dev: Add a CMake Testing Guide
7cc124d4b5 Help/dev: Move integration testing to a more-specific document
d9ab1fb5da Help/dev: Fix formatting in CMake Documentation Guide
aa3fffa4bb README: Drop outdated link on running CMake

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Juan Ramos <juan.ramos@kitware.com>
Merge-request: !9576
2024-06-06 08:45:18 -04:00
Brad King 1309bd19b6 Merge branch 'release-3.30' 2024-06-06 08:43:44 -04:00
Brad King 8c4892b0ef Merge topic 'bash-completion'
1ff41ba26e Auxiliary: bash-completion: use _comp_initialize
d03b4acaa9 Auxiliary: Bash-comp: use _init_completion instead of _split_longopt

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !9564
2024-06-06 08:43:43 -04:00
Brad King d9da38f362 Merge topic 'bash-completion' into release-3.30
1ff41ba26e Auxiliary: bash-completion: use _comp_initialize
d03b4acaa9 Auxiliary: Bash-comp: use _init_completion instead of _split_longopt

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !9564
2024-06-06 08:43:42 -04:00
Brad King f23d6bfc02 Merge branch 'release-3.30' 2024-06-06 08:41:59 -04:00
Brad King 60da7cb84e Merge topic 'doc-add_subdirectory-EXCLUDE_FROM_ALL'
2449c04d8d Help: improve docs for the EXCLUDE_FROM_ALL directory property

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9497
2024-06-06 08:41:59 -04:00
Brad King 97328b05c3 Merge topic 'doc-add_subdirectory-EXCLUDE_FROM_ALL' into release-3.30
2449c04d8d Help: improve docs for the EXCLUDE_FROM_ALL directory property

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9497
2024-06-06 08:41:58 -04:00
Brad King aeb57476de Merge branch 'release-3.30' 2024-06-06 08:41:02 -04:00
Brad King 3ef20fbef7 Merge topic 'gui-relative-build-path'
a872844908 cmake-gui: Handle relative paths in the build directory text input

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9459
2024-06-06 08:41:02 -04:00
Brad King 2f657e448b Merge topic 'gui-relative-build-path' into release-3.30
a872844908 cmake-gui: Handle relative paths in the build directory text input

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9459
2024-06-06 08:41:00 -04:00
Brad King 7d71feb0ac Merge topic 'post-rel-dev'
115425e68c Configure CMake itself with policies through CMake 3.29
ed376e470e export: Increase maximum policy version in exported files to 3.29
4394464501 Add deprecation warnings for policies CMP0129 and below
2eb4382d6b Tests: Modernize RunCMake.CMP0129 test conventions and conditions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9585
2024-06-06 08:39:57 -04:00
Brad King 8c8af1019d Merge branch 'release-3.30' 2024-06-06 08:38:16 -04:00
Brad King dbbbc684c3 Merge branch 'release-3.29' 2024-06-06 08:38:11 -04:00
Brad King 0833cf8d0a Merge branch 'release-3.29' into release-3.30 2024-06-06 08:38:00 -04:00
Brad King 140dd8aa15 Merge branch 'release-3.30' 2024-06-06 08:37:14 -04:00
Brad King 9cfc2564d1 Merge topic 'cpack-wix-scope-default'
bad894b53e Merge branch 'backport-3.29-cpack-wix-scope-default'
614100dbf6 CPack/WiX: Restore default (missing) InstallScope from 3.28 and lower
0167089484 CPack/WiX: Restore default (missing) InstallScope from 3.28 and lower

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9586
2024-06-06 08:37:14 -04:00
Brad King 377e739884 Merge topic 'cpack-wix-scope-default' into release-3.30
bad894b53e Merge branch 'backport-3.29-cpack-wix-scope-default'
614100dbf6 CPack/WiX: Restore default (missing) InstallScope from 3.28 and lower
0167089484 CPack/WiX: Restore default (missing) InstallScope from 3.28 and lower

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9586
2024-06-06 08:37:13 -04:00
Brad King d853bfa6a5 Merge branch 'release-3.30' 2024-06-06 08:33:58 -04:00
Brad King 41a32aadcd Merge topic 'ctest-jobserver-fifo-hang'
ff077af032 ctest: Set close-on-exec for jobserver FIFO

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9580
2024-06-06 08:33:57 -04:00
Brad King e913e7150a Merge topic 'ctest-jobserver-fifo-hang' into release-3.30
ff077af032 ctest: Set close-on-exec for jobserver FIFO

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9580
2024-06-06 08:33:56 -04:00
Brad King 74e233e8f5 Merge topic 'backport-3.29-cpack-wix-scope-default' into release-3.29
0167089484 CPack/WiX: Restore default (missing) InstallScope from 3.28 and lower

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9586
2024-06-06 08:32:00 -04:00
Brad King 20d1f96dac Merge topic 'ctest-jobserver-fifo-hang' into release-3.29
ff077af032 ctest: Set close-on-exec for jobserver FIFO

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9580
2024-06-06 08:31:29 -04:00
Kitware Robot b411d0146c CMake Nightly Date Stamp 2024-06-06 00:01:28 -04:00
Brad King bad894b53e Merge branch 'backport-3.29-cpack-wix-scope-default' 2024-06-05 14:02:10 -04:00
Brad King 614100dbf6 CPack/WiX: Restore default (missing) InstallScope from 3.28 and lower
In commit 60661f6770 (CPack/WiX: Make InstallScope configurable,
2023-11-07, v3.29.0-rc1~413^2) the `CPACK_WIX_INSTALL_SCOPE` default was
set to `perMachine`.  While installers created with `perMachine` have
better behavior on their own than installers created without any
`InstallScope`, they do not cleanly convert existing installations on
updates.

Fixes: #26029
2024-06-05 14:01:14 -04:00
Brad King 0167089484 CPack/WiX: Restore default (missing) InstallScope from 3.28 and lower
In commit 60661f6770 (CPack/WiX: Make InstallScope configurable,
2023-11-07, v3.29.0-rc1~413^2) the `CPACK_WIX_INSTALL_SCOPE` default was
set to `perMachine`.  While installers created with `perMachine` have
better behavior on their own than installers created without any
`InstallScope`, they do not cleanly convert existing installations on
updates.

Fixes: #26029
2024-06-05 13:47:36 -04:00
Brad King 115425e68c Configure CMake itself with policies through CMake 3.29 2024-06-05 13:24:36 -04:00
Brad King ed376e470e export: Increase maximum policy version in exported files to 3.29
The files generated by `install(EXPORT)`, `export()`, and
`install_jar_exports()` commands are known to work with policies
as of CMake 3.29, so enable them in sufficiently new CMake versions.
2024-06-05 13:23:38 -04:00
Brad King 4394464501 Add deprecation warnings for policies CMP0129 and below
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.23 and below to encourage projects to port
away from setting policies to OLD.
2024-06-05 13:19:07 -04:00
Brad King 2eb4382d6b Tests: Modernize RunCMake.CMP0129 test conventions and conditions 2024-06-05 13:16:36 -04:00