Brad King
b0315c83dc
ci: package .zip source archives using LF newlines
...
Previously we provided a `.zip` archive with CRLF newlines and a
`.tar.gz` archive with LF newlines. This is no longer consistent
with modern conventions. Use LF newlines in both.
Fixes : #25467
2024-04-01 10:53:11 -04:00
Brad King
8b16de9e84
ci: package source archives using consistent command-line quoting conventions
2024-04-01 10:36:07 -04:00
Brad King
ad13d01621
Merge topic 'cmp0159_warnings'
...
3cd64287fe Modules: Fix CMP0159 warnings in modules when tracing
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9385
2024-04-01 09:43:14 -04:00
Brad King
dea9982990
Merge topic 'patch-help-manually-added-dependencies'
...
e722f73e40 Help: Document MANUALLY_ADDED_DEPENDENCIES in add_dependencies
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9388
2024-04-01 09:42:32 -04:00
Brad King
16dd3b79dc
Merge topic 'check-Werror-CMP0066'
...
cebcc07a80 CheckSymbolExists: Remove -Werror from per-config flags
06c99ce73b CheckSymbolExists: Avoid removing the flag after -Werror
e60281e968 CMakeDetermineCompilerABI: Remove -Werror from per-config flags
6abd25e7fd Help: Fix a typo
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9377
2024-04-01 09:38:57 -04:00
Brad King
252c2a6fcb
Merge topic 'add_library-no-static-fallback'
...
a61c9afdf8 add_library: Reject shared libraries on platforms that do not support them
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9347
2024-04-01 09:38:14 -04:00
Brad King
554a9b00c8
Merge topic 'tls-verify'
...
7139944264 ctest: Fall back to CMake environment variable for TLS server verification
c295df53c6 ctest: Test fallback to CMake options for TLS server verification
0d250dd021 ExternalProject: Honor CMAKE_TLS_VERIFY environment variable
e8404502b1 ExternalProject: Revise TLS_VERIFY wording to use TLS_VERSION pattern
46faaf9667 file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERIFY environment variable
8b0169fe2b file(DOWNLOAD|UPLOAD): Add test covering CMAKE_TLS_VERIFY cmake variable
93886f5c7d file(DOWNLOAD|UPLOAD): Avoid unnecessary CMAKE_TLS_VERIFY variable lookup
bed32f400e file(DOWNLOAD|UPLOAD): Document TLS_VERSION fallback to environment variable
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !9389
2024-04-01 09:37:20 -04:00
Brad King
5ebd5daa93
Merge topic 'rel-win-PATH'
...
2e5330591d Utilities/Release/WiX: Modify PATH by default when installing on Windows
32388821e2 Utilities/Release/WiX: Save PATH modification preference persistently
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Nazar Mokrynskyi <nazar@mokrynskyi.com >
Merge-request: !9386
2024-04-01 09:36:27 -04:00
Brad King
c17c4ff67e
Merge branch 'release-3.29'
2024-04-01 09:35:09 -04:00
Brad King
ae41bfc6c2
Merge topic 'nested-package-config-file'
...
6ddf8712cd CMakePackageConfigHelpers: Use unique variable name for pkg prefix
91b9d35608 CMakePackageConfigHelpers: Remove unused variable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9390
2024-04-01 09:35:09 -04:00
Brad King
2f8e407955
Merge topic 'nested-package-config-file' into release-3.29
...
6ddf8712cd CMakePackageConfigHelpers: Use unique variable name for pkg prefix
91b9d35608 CMakePackageConfigHelpers: Remove unused variable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9390
2024-04-01 09:35:08 -04:00
Brad King
8567d81ac7
Merge branch 'release-3.29'
2024-04-01 09:33:46 -04:00
Brad King
622e17a0f0
Merge topic 'doc-vsfortran'
...
7fa0057c74 Help: emphasize need for VS Integrations with oneAPI Fortran
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9387
2024-04-01 09:33:45 -04:00
Brad King
82d945fcfe
Merge topic 'doc-vsfortran' into release-3.29
...
7fa0057c74 Help: emphasize need for VS Integrations with oneAPI Fortran
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9387
2024-04-01 09:33:44 -04:00
Kitware Robot
3465d14fe5
CMake Nightly Date Stamp
2024-04-01 00:02:47 -04:00
Craig Scott
6ddf8712cd
CMakePackageConfigHelpers: Use unique variable name for pkg prefix
...
Fixes : #25827
2024-04-01 09:32:37 +11:00
Craig Scott
91b9d35608
CMakePackageConfigHelpers: Remove unused variable
2024-04-01 09:32:28 +11:00
Kitware Robot
69c8ca4bc9
CMake Nightly Date Stamp
2024-03-31 00:01:10 -04:00
Brad King
7139944264
ctest: Fall back to CMake environment variable for TLS server verification
...
Use `ENV{CMAKE_TLS_VERIFY}` if `CTEST_TLS_VERIFY` or `CMAKE_TLS_VERIFY`
is not set.
Issue: #23608
2024-03-30 09:22:05 -04:00
Brad King
c295df53c6
ctest: Test fallback to CMake options for TLS server verification
2024-03-30 09:22:05 -04:00
Brad King
0d250dd021
ExternalProject: Honor CMAKE_TLS_VERIFY environment variable
...
Issue: #23608
2024-03-30 09:22:05 -04:00
Brad King
e8404502b1
ExternalProject: Revise TLS_VERIFY wording to use TLS_VERSION pattern
2024-03-30 09:22:05 -04:00
Brad King
46faaf9667
file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERIFY environment variable
...
Issue: #23608
2024-03-30 09:22:04 -04:00
Brad King
8b0169fe2b
file(DOWNLOAD|UPLOAD): Add test covering CMAKE_TLS_VERIFY cmake variable
2024-03-30 09:22:04 -04:00
Brad King
93886f5c7d
file(DOWNLOAD|UPLOAD): Avoid unnecessary CMAKE_TLS_VERIFY variable lookup
...
If the `TLS_VERIFY` option is given explicitly, we do not need to check
the variable.
2024-03-30 09:21:45 -04:00
Kitware Robot
e5f7ff8635
CMake Nightly Date Stamp
2024-03-30 00:01:36 -04:00
Juan Ramos
3cd64287fe
Modules: Fix CMP0159 warnings in modules when tracing
...
Closes : #25829
2024-03-29 13:51:59 -07:00
scivision
7fa0057c74
Help: emphasize need for VS Integrations with oneAPI Fortran
...
Be more explicit that VS Integration is required to use
Intel Fortran with MSVC.
It is common that users do not have VS Integration installed because
oneAPI is then only usable with a narrow range of MSVC versions,
even when oneAPI is used by itself with MSVC as the required backend.
Without VS Integration, a wide range of MSVC versions work as the
backend to oneAPI on Windows.
2024-03-29 15:29:59 -04:00
Brad King
bed32f400e
file(DOWNLOAD|UPLOAD): Document TLS_VERSION fallback to environment variable
...
This was missed by commit 434fe8a34b (file(DOWNLOAD|UPLOAD): Add
CMAKE_TLS_VERSION environment variable, 2024-02-26).
2024-03-29 14:17:58 -04:00
Brad King
6c44abb6e0
Tests: Update cmake_minimum_required version in RunCMake ctest cases
...
This was missed in commit 1edf138506 (Tests/RunCMake: Update
cmake_minimum_required versions, 2023-02-06, v3.27.0-rc1~508^2~1).
2024-03-29 14:17:58 -04:00
Peter Kokot
e722f73e40
Help: Document MANUALLY_ADDED_DEPENDENCIES in add_dependencies
...
This adds a note about the MANUALLY_ADDED_DEPENDENCIES target property
to the add_dependencies documentation page. It was introduced in v3.8.0.
2024-03-29 18:43:30 +01:00
Asit Dhal
a61c9afdf8
add_library: Reject shared libraries on platforms that do not support them
...
Add policy CMP0164 to provide compatibility.
Fixes : #25759
2024-03-29 11:06:32 -04:00
Brad King
f852f33c69
Merge topic 'prop-GENERATED-visibility'
...
071f0d6f98 CMP0163: Make GENERATED source file property globally visible
00c6573d86 cmSetPropertyCommand: Refactor checks for CMP0118
e04af1e9c2 cmGetSorceFilePropertyCommand: Simplify string comparisons
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9308
2024-03-29 09:59:06 -04:00
Brad King
2e5330591d
Utilities/Release/WiX: Modify PATH by default when installing on Windows
...
If the PATH modification choice has not been saved persistently by an
existing installation of CMake, default to modifying the system PATH
environment variable to make our command-line tools available for all
users. This is a common expectation.
Fixes : #21465
2024-03-29 09:32:27 -04:00
Brad King
32388821e2
Utilities/Release/WiX: Save PATH modification preference persistently
...
Our Windows installer provides an interactive dialog to choose whether
the PATH should be modified. It may also be specified on the `msiexec`
command-line as an `ADD_CMAKE_TO_PATH={0,1}` property. Save the choice
persistently in the Windows Registry and use the same choice by default
in future installations.
Issue: #21465
2024-03-29 09:32:27 -04:00
Brad King
8ffe1fd22c
Merge topic 'rel-win-PATH'
...
7bd68cf381 Utilities/Release/WiX: Convert PATH modification preference to checkbox
d320c76257 Utilities/Release/WiX: Clarify UI options dialog name
cde0b7c131 Utilities/Release/WiX: Clarify UI dialog order
48d2a7ac62 Utilities/Release/WiX: Backport UI dialog condition fix from WiX 3.11
36ae046ed1 Utilities/Release/WiX: Simplify desktop shortcut condition
9e831a6211 Utilities/Release/WiX: Simplify specification of CMake registry value
68e9454abe Utilities/Release/WiX: Require Windows Installer 5.0
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9381
2024-03-29 09:17:43 -04:00
Brad King
40ff298098
Merge branch 'release-3.29'
2024-03-29 09:15:11 -04:00
Brad King
bd3eaf83a1
Merge topic 'move-install-note'
...
8cbd6f5754 Help: Fix location of install() note about superseded commands
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9382
2024-03-29 09:15:11 -04:00
Brad King
079dfe194b
Merge topic 'move-install-note' into release-3.29
...
8cbd6f5754 Help: Fix location of install() note about superseded commands
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9382
2024-03-29 09:15:09 -04:00
Brad King
04c3734a8a
Merge topic 'add_custom_command/25796'
...
89aac1fbe8 add_dependencies: Document behavior under Ninja generators
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9378
2024-03-29 09:14:12 -04:00
Deniz Bahadir
071f0d6f98
CMP0163: Make GENERATED source file property globally visible
...
This was originally attempted by policy CMP0118, but its
implementation did not cover all intended use cases. We fixed its
documentation in commit 1dabbbb5e0 (CMP0118: Revise documentation to
describe actual behavior, 2024-03-20).
Add new policy CMP0163 to cover the remaining use cases. In particular,
make the `GENERATED` property visible to `get_property` calls in other
directories. In order to capture the original intention of CMP0118,
define CMP0163's NEW behavior to also imply CMP0118's NEW behavior.
Fixes : #25437
Fixes : #25058
2024-03-29 08:54:11 -04:00
Kitware Robot
293729a441
CMake Nightly Date Stamp
2024-03-29 00:01:15 -04:00
FeRD (Frank Dana)
8cbd6f5754
Help: Fix location of install() note about superseded commands
...
The note regarding commands superseded by install() somehow wound
up nested under the install(EXPORT) signature, when it has nothing
to do with install(EXPORT). Move it to the top level, immediately
before the Examples section.
2024-03-28 16:59:00 -04:00
Brad King
7bd68cf381
Utilities/Release/WiX: Convert PATH modification preference to checkbox
...
Add explicit support for passing a `ADD_CMAKE_TO_PATH={0,1}` property to
`msiexec` command-line installations to control the checkbox. Also
preserve compatibility with the old `ADD_CMAKE_TO_PATH={None,System}`
property, which previously controlled the radio button group, by mapping
the values to the checkbox.
Remove the "Add CMake to the system PATH for the current user" option.
It actually added CMake to the installing user's PATH, not the system
PATH, even though CMake is installed to a system location.
Also revise the wording of the desktop shortcut checkbox to match
the style of the PATH checkbox wording.
Issue: #21465
2024-03-28 16:20:04 -04:00
Brad King
d320c76257
Utilities/Release/WiX: Clarify UI options dialog name
2024-03-28 15:19:18 -04:00
Brad King
cde0b7c131
Utilities/Release/WiX: Clarify UI dialog order
2024-03-28 15:19:18 -04:00
Brad King
48d2a7ac62
Utilities/Release/WiX: Backport UI dialog condition fix from WiX 3.11
...
See WiX issue 4737 and wix3 PR 284.
2024-03-28 15:19:17 -04:00
Brad King
36ae046ed1
Utilities/Release/WiX: Simplify desktop shortcut condition
2024-03-28 15:19:17 -04:00
Brad King
9e831a6211
Utilities/Release/WiX: Simplify specification of CMake registry value
2024-03-28 15:19:17 -04:00
Brad King
68e9454abe
Utilities/Release/WiX: Require Windows Installer 5.0
...
This version comes with Windows 7, the oldest our binaries support.
2024-03-28 15:19:17 -04:00