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
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
46faaf9667
file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERIFY environment variable
...
Issue: #23608
2024-03-30 09:22:04 -04: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
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
Brad King
03884f4f32
CPack/WIX: Add support for WiX Toolset v4
...
Add a `CPACK_WIX_VERSION` option to specify version WiX for
which the project is configured.
Fixes : #23910
2024-03-24 15:26:39 -04:00
Brad King
cff8aefc6a
Merge topic 'doc-CMP0118'
...
1dabbbb5e0 CMP0118: Revise documentation to describe actual behavior
d2f5b79795 CMP0118: Fix some tests and add more tests
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9358
2024-03-22 09:34:31 -04:00
Deniz Bahadir
1dabbbb5e0
CMP0118: Revise documentation to describe actual behavior
...
The policy was originally intended to make the `GENERATED` source file
property globally visible, but the implementation didn't fully achieve
that goal. Revise the documentation to describe what it actually does.
Issue: #25437
2024-03-21 11:37:46 -04:00
Brad King
388f7bc11b
Merge topic 'fileapi-provide-glob-dependent'
...
6116bcb066 fileapi: Add CONFIGURE_DEPENDS glob info to cmakeFiles object
f578515d02 cmGlobCacheEntry: Add helper to carry CONFIGURE_DEPENDS glob cache arguments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9348
2024-03-21 09:29:00 -04:00
Brad King
f31523c251
Merge branch 'release-3.28'
2024-03-20 10:35:51 -04:00
Brad King
7e52f9d4e0
Merge branch 'release-3.28' into release-3.29
2024-03-20 10:35:33 -04:00
Brad King
b5602e7254
CMake 3.28.4
2024-03-20 10:03:43 -04:00
Arctic Lampyrid
6116bcb066
fileapi: Add CONFIGURE_DEPENDS glob info to cmakeFiles object
...
Fixes : #25668
Co-authored-by: Brad King <brad.king@kitware.com >
2024-03-19 14:55:25 -04:00
Brad King
253397b018
Merge topic 'ctest-tls-options'
...
aeb8bcc055 ctest: Fall back to CMake options for TLS version
56e319ce4a ctest: Fall back to CMake options for TLS server verification
6671f17f65 ctest: Add explicit options for TLS version
0aba13a2f3 ctest: Add explicit options for TLS server verification
51728a6dd3 CTest: Create scope to isolate defaults for DartConfiguration.tcl
8a3a486fb5 cmCTestCurl: Factor out helper struct for curl options
7f668bb94f cmCTestCurl: Use inline member initialization
add81210df cmCurl: Assert that we cover all TLS versions supported by our vendored curl
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9318
2024-03-13 11:05:17 -04:00
Brad King
b7c78e1592
Merge topic 'export-find_dependency-calls'
...
3a739d4dcb EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9336
2024-03-13 10:57:08 -04:00
Brad King
3a739d4dcb
EXPORT_PACKAGE_DEPENDENCIES: Add experimental feature gate
...
Some design concerns have been raised after trying the 3.29 release
candidates. Avoid committing to a stable public interface for now.
Issue: #25767
2024-03-12 14:24:53 -04:00
Brad King
6671f17f65
ctest: Add explicit options for TLS version
...
Add a dedicated `TLSVersion` ctest option and a `CTEST_TLS_VERSION`
variable to control it.
Issue: #25701
2024-03-12 10:46:23 -04:00
Brad King
0aba13a2f3
ctest: Add explicit options for TLS server verification
...
Add a dedicated `TLSVerify` ctest option and a `CTEST_TLS_VERIFY`
variable to control it. Deprecate `CurlOptions` because it exposes
internal implementation details.
2024-03-12 10:46:11 -04:00
Brad King
89e99cca63
Merge topic 'ctest-j-default'
...
5de1e21659 ctest: Allow passing -j without value to choose a contextual default
bbcbcff7d9 cmCTestMultiProcessHandler: Modernize member initialization
7457b474a1 Tests: Remove unnecessary parallel suppression from CTestCoverageCollectGCOV
ae69801d96 Tests: Convert CTestTestSkipReturnCode to RunCMake.ctest_test case
30dda49416 Tests: Convert CTestTestSerialOrder to RunCMake.ctest_test case
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !9315
2024-03-11 10:18:50 -04:00
Brad King
04d8bc6bb9
Merge topic 'ctest-j-default' into release-3.29
...
5de1e21659 ctest: Allow passing -j without value to choose a contextual default
bbcbcff7d9 cmCTestMultiProcessHandler: Modernize member initialization
7457b474a1 Tests: Remove unnecessary parallel suppression from CTestCoverageCollectGCOV
ae69801d96 Tests: Convert CTestTestSkipReturnCode to RunCMake.ctest_test case
30dda49416 Tests: Convert CTestTestSerialOrder to RunCMake.ctest_test case
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !9315
2024-03-11 10:18:49 -04:00
Brad King
5de1e21659
ctest: Allow passing -j without value to choose a contextual default
...
Under job server integration, added by commit 80fe56c481 (ctest: Add
support for running under a make job server on POSIX systems,
2023-11-15, v3.29.0-rc1~324^2), use a very high default so that
parallelism is effectively limited only by available job server tokens.
Otherwise, choose a default limit based on the number of processors.
Also allow passing `0` to specify unbounded parallelism.
Fixes : #25739
2024-03-10 11:41:39 -04:00
Brad King
5910da32b9
Merge topic 'doc-https'
...
53a542936e Help: Convert http URLs to https
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9313
2024-03-08 09:30:13 -05:00
Brad King
edc936336e
Merge topic 'CUDAToolkit_nvfatbin'
...
d420ee6b43 FindCUDAToolkit: Add support for nvfatbin added in 12.4
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9311
2024-03-08 09:26:27 -05:00
scivision
53a542936e
Help: Convert http URLs to https
2024-03-07 09:42:45 -05:00
Robert Maynard
d420ee6b43
FindCUDAToolkit: Add support for nvfatbin added in 12.4
2024-03-05 16:43:09 -05:00
Brad King
2ef3bd9186
ExternalProject: Add TLS version options for https connections
...
Add a `TLS_VERSION` option and honor `CMAKE_TLS_VERSION` variables.
Also map the version to Git options as we already do for `TLS_VERIFY`.
Issue: #25701
2024-02-28 19:11:29 -05:00
Brad King
434fe8a34b
file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION environment variable
...
Issue: #25701
2024-02-28 08:40:27 -05:00
Brad King
fb9a6cf909
file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION variable
...
Issue: #25701
2024-02-28 08:40:27 -05:00
Brad King
8e6776b9f3
file(DOWNLOAD|UPLOAD): Add TLS_VERSION option for https connections
...
Add an option to specify the minimum allowed TLS version for https
connections.
Issue: #25701
2024-02-28 08:40:14 -05:00
Brad King
7f1bdcc714
Merge topic 'vs-UseDebugLibraries'
...
721d8b192a VS: Add UseDebugLibraries to vcxproj files by default
47136b6959 VS: Suppress more MSBuild defaults affected by UseDebugLibraries
82a174182a cmVisualStudioGeneratorOptions: Add UsingDebugRuntime method
f498032141 cmVisualStudioGeneratorOptions: Rename {IsDebug => UsingDebugInfo}
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9275
2024-02-23 08:35:04 -05:00
Brad King
721d8b192a
VS: Add UseDebugLibraries to vcxproj files by default
...
Use heuristics to select a reasonable value. Add policy CMP0162
to provide compatibility with existing projects.
Fixes : #25327
2024-02-22 08:43:16 -05:00
Brad King
14ed766e12
Merge topic 'preset-includes-macro-expansion'
...
1a38ffc656 presets: Expand more macros in the `include` directive
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9108
2024-02-22 08:32:10 -05:00
Cristian Le
1a38ffc656
presets: Expand more macros in the include directive
...
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de >
2024-02-21 13:47:08 -05:00
Brad King
b814641444
VS: Add [CMAKE_]VS_USE_DEBUG_LIBRARIES options to control UseDebugLibraries
...
This indicates to MSBuild which configurations are considered debug
configurations. This is useful for reference both by humans and tools.
Issue: #25327
2024-02-19 10:40:41 -05:00
Brad King
2407e4c5d6
Merge topic 'backport-3.28-visionOS'
...
dbfc53a2bf Help: Add 3.28.4 release note draft for visionOS updates
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9262
2024-02-15 14:32:19 -05:00
Brad King
dae7c6f0d8
Merge topic 'backport-3.28-visionOS' into release-3.29
...
dbfc53a2bf Help: Add 3.28.4 release note draft for visionOS updates
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9262
2024-02-15 14:32:18 -05:00
Brad King
dbfc53a2bf
Help: Add 3.28.4 release note draft for visionOS updates
...
Hide it in a Sphinx comment pending the actual 3.28.4 release.
Issue: #25266
2024-02-15 13:16:15 -05:00
Brad King
e9d88df971
Merge topic 'genex-quote'
...
879690ba14 GeneratorExpression: Add $<QUOTE> generator expression
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9242
2024-02-15 12:46:50 -05:00
Robert Maynard
879690ba14
GeneratorExpression: Add $<QUOTE> generator expression
...
Support inserting '"' literals in generator expressions
Fixes #20869
2024-02-14 14:23:18 -05:00
Brad King
674bf686e6
Merge topic 'mingw-objc-objcxx'
...
2a4e8f03ef MinGW: Add support for OBJC and OBJCXX
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Cristian Adam <cristian.adam@gmail.com >
Merge-request: !9244
2024-02-13 08:53:16 -05:00
مهدي شينون (Mehdi Chinoune)
2a4e8f03ef
MinGW: Add support for OBJC and OBJCXX
2024-02-12 19:46:41 -05:00
Brad King
49b5a65477
Merge branch 'backport-ticlang' into ticlang-compilers
2024-02-09 15:56:06 -05:00
Alan Phipps
9ba0a54554
TIClang: Add support for TI Clang-based compilers, including tiarmclang
...
Add TIClang compiler ID and support in compiler modules. Update
documentation. Add rudimentary RunCMake test for TIClang to test
basic functionality.
Fixes : #24619
2024-02-09 15:54:40 -05:00
Brad King
0942e4898c
Merge topic 'doc-autogen'
...
ccaf529c4e Autogen: Update Documentation
16cc011fa5 cmQtAutoGenGlobalInitializer: Improve Const-correctness
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9223
2024-02-08 11:10:48 -05:00
Brad King
d968391a0f
Merge topic 'doc-autogen' into release-3.29
...
ccaf529c4e Autogen: Update Documentation
16cc011fa5 cmQtAutoGenGlobalInitializer: Improve Const-correctness
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9223
2024-02-08 11:10:47 -05:00