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
9e5b954adb
Help: Format ctest(1) CurlOptions values as a definition list
2024-03-12 10:43:37 -04:00
Brad King
fbae527191
Help: Factor out CMAKE_TLS_VERSION allowed values
2024-03-12 10:43:37 -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
4905335776
Merge topic 'ctest-tests-from-file'
...
170ec48601 Help: Improve ctest tests-from-file documentation wording and wrapping
1a4837641e ctest: Remove unnecessary and ambiguous tests-from-file comment syntax
d52c66bfb3 ctest: Honor tests-from-file options with empty input
8673264e25 Tests: Make ctest tests-from-file expected output more precise
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9322
2024-03-11 10:17:00 -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
170ec48601
Help: Improve ctest tests-from-file documentation wording and wrapping
2024-03-08 16:26:12 -05:00
Brad King
1a4837641e
ctest: Remove unnecessary and ambiguous tests-from-file comment syntax
...
Test names can contain `#`. Since we ignore lines that do not match any
test names anyway, "commenting" can still work without explicit syntax.
Also drop whitespace trimming for similar reasons.
Fixes : #25741
2024-03-08 16:25:33 -05: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
4f5322d18f
Merge topic 'ExternalProject-TLS_VERSION'
...
2ef3bd9186 ExternalProject: Add TLS version options for https connections
f0a36b1a76 ExternalProject: Factor out helper to get NETRC options
019960a52a ExternalProject: Factor out helper to get TLS_CAINFO option
1afa6f359e ExternalProject: Factor out helper to get TLS_VERIFY option
e39c37ab29 ExternalProject: Revise wording of TLS_VERIFY documentation
fe5e6c27bd ExternalProject: Prepare for multiple git submodule config options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Craig Scott <craig.scott@crascit.com >
Merge-request: !9296
2024-03-01 08:58:22 -05:00
Brad King
7d1aae7a60
Merge topic 'Help-add_custom_command-grammo'
...
b03356f954 Help/add_custom_command: fix verb grammo
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9297
2024-02-29 07:59:28 -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
Ben Boeckel
b03356f954
Help/add_custom_command: fix verb grammo
2024-02-28 13:21:52 -05:00
Brad King
c481ddda14
Merge topic 'curl-tls-version'
...
434fe8a34b file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION environment variable
fb9a6cf909 file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION variable
8e6776b9f3 file(DOWNLOAD|UPLOAD): Add TLS_VERSION option for https connections
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9290
2024-02-28 09:03:20 -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
70293ec345
Merge topic 'Help-file-ARCHIVE_EXTRACT-mention-working-dir'
...
189d28d77d Help/file: mention the working directory for `ARCHIVE_EXTRACT`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9291
2024-02-27 09:11:43 -05:00
Brad King
5ac8368922
Merge topic 'Help-file-ARCHIVE_EXTRACT-mention-working-dir' into release-3.29
...
189d28d77d Help/file: mention the working directory for `ARCHIVE_EXTRACT`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9291
2024-02-27 09:11:42 -05:00
Ben Boeckel
189d28d77d
Help/file: mention the working directory for ARCHIVE_EXTRACT
...
See: https://discourse.cmake.org/t/10135
2024-02-27 05:53:08 -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
5bfb961c64
Merge topic 'doc-create_test_sourcelist'
...
2c646641ec Help: Document create_test_sourcelist source path convention
c21f0eb30b Help: Modernize create_test_sourcelist documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !9281
2024-02-23 07:41:28 -05:00
Brad King
2c646641ec
Help: Document create_test_sourcelist source path convention
...
Document the change in commit a29ca55b1f (create_test_sourcelist: use
the full path to the driver, 2023-12-09, v3.29.0-rc1~264^2).
2024-02-22 09:37:23 -05:00
Brad King
c21f0eb30b
Help: Modernize create_test_sourcelist documentation
2024-02-22 09:32:00 -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
Brad King
a876991afc
Merge topic 'doc-BUILD_SHARED_LIBS-top-level'
...
fb14a54a25 Help: Advise calling option(BUILD_SHARED_LIBS) early enough
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9280
2024-02-22 08:28:42 -05:00
Craig Scott
fb14a54a25
Help: Advise calling option(BUILD_SHARED_LIBS) early enough
...
Amends 01e33df83f (Help: Modernize BUILD_SHARED_LIBS
documentation, 2024-02-21) to highlight that BUILD_SHARED_LIBS
needs to be set early enough to prevent different behavior between
the first and subsequent runs.
2024-02-22 10:33:21 +11:00
Brad King
68add66ca5
Merge topic 'doc-BUILD_SHARED_LIBS'
...
01e33df83f Help: Modernize BUILD_SHARED_LIBS documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9278
2024-02-21 13:50:32 -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
01e33df83f
Help: Modernize BUILD_SHARED_LIBS documentation
...
Previously the documentation used long-outdated terminology from
CMake's early days.
Issue: #25699
2024-02-21 09:25:49 -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
bd59b92918
Merge topic 'doc-install-relative-paths'
...
af293ff7c3 Help: Explicitly discourage absolute install destinations
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9261
2024-02-16 10:08:19 -05:00
Robert Maynard
af293ff7c3
Help: Explicitly discourage absolute install destinations
...
Document some of the problems caused by absolute install destinations.
Encourage use of relative paths.
2024-02-16 09:53:55 -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
fc008e946f
Merge topic 'fix-return-example'
...
c6f56153bb Help: Fix example for return command
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9251
2024-02-15 12:59:24 -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
Johannes Schultz
c6f56153bb
Help: Fix example for return command
...
`cmake_minimum_required` is the correct command, not
`cmake_version_required`.
2024-02-15 10:42:25 -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