Commit Graph

66103 Commits

Author SHA1 Message Date
Ben Boeckel
a46395df06 importstd: clarify when the experimental UUID must be available
Fixes: #25980
2024-05-15 07:15:05 -04:00
Brad King
5d658ebcc6 Merge topic 'FindPython-WIN32-DEBUG'
c164404b2e FindPython: On Windows, Enhance python debug version support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Osyotr <zhenchik35026@gmail.com>
Merge-request: !9482
2024-05-14 10:52:49 -04:00
Brad King
a43f37a1a2 Merge branch 'release-3.29' 2024-05-14 10:27:35 -04:00
Brad King
48a1c67f63 Merge branch 'release-3.28' 2024-05-14 10:27:33 -04:00
Brad King
b3958a0a5a Merge branch 'release-3.28' into release-3.29 2024-05-14 10:27:23 -04:00
Brad King
6fead686e6 Merge branch 'release-3.29' 2024-05-14 10:26:47 -04:00
Brad King
26bbee30cc Merge topic 'ExternalProject-xcode-effective-platform'
0a3caf0878 ExternalProject: Restore support for Xcode with an effective platform

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9517
2024-05-14 10:26:47 -04:00
Brad King
9813b9f0ad Merge topic 'ExternalProject-xcode-effective-platform' into release-3.29
0a3caf0878 ExternalProject: Restore support for Xcode with an effective platform

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9517
2024-05-14 10:26:46 -04:00
Brad King
065729b6d1 Merge topic 'ExternalProject-xcode-effective-platform' into release-3.28
0a3caf0878 ExternalProject: Restore support for Xcode with an effective platform

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9517
2024-05-14 10:26:01 -04:00
Brad King
8aa598a0b7 Merge topic 'help-options'
fc2bce54c7 Help: try_compile how to pass compiler options

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9512
2024-05-14 10:25:33 -04:00
Brad King
646c921ce6 Merge topic 'intel-std'
80d4bd5370 IntelLLVM: Record C++26 support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9511
2024-05-14 10:24:22 -04:00
Brad King
078320c784 Merge topic 'test-vs16-v90'
71a4f052ed Tests: Avoid running VS 16+ tests when using a pre-v140 toolset

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9515
2024-05-14 10:20:44 -04:00
Kitware Robot
82890c5d4a CMake Nightly Date Stamp 2024-05-14 00:01:14 -04:00
Brad King
0a3caf0878 ExternalProject: Restore support for Xcode with an effective platform
Revert commit cabad8a37f (ExternalProject: Always use $<CONFIG> for
source files, 2023-02-02, v3.27.0-rc1~550^2~3) and restore
Xcode-specific behavior intentionally preserved by commit c111d440ce
(ExternalProject: Express per-config step stamp file paths using CONFIG
genex, 2022-06-08, v3.24.0-rc1~15^2).  Unfortunately we still do not
have a test case, so leave a comment to avoid reverting this.

Issue: #23645
Issue: #23652
2024-05-13 14:41:00 -04:00
scivision
80d4bd5370 IntelLLVM: Record C++26 support 2024-05-13 11:02:04 -04:00
Brad King
71a4f052ed Tests: Avoid running VS 16+ tests when using a pre-v140 toolset 2024-05-13 10:57:27 -04:00
Brad King
b56c083a54 Merge topic 'print-configure-generate-time'
29404cfd92 cmake: Capture more complete configure/generate steps in printed durations
f106df8f96 cmGlobalVisualStudio8Generator: Remove unused Configure method override

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !9508
2024-05-13 09:38:03 -04:00
Brad King
3bb51964bd Merge topic 'cxxmodules-nolibcxx-import-std-reason'
c0385a6b9c Modules/Compiler/Clang: add a reason for non-`libc++` compilations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9504
2024-05-13 09:36:15 -04:00
Brad King
ac44f6335e Merge topic 'test-race-aix'
b3245f33ef Tests/RunCMake/install: Avoid intermittent failures on AIX

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9507
2024-05-13 09:34:46 -04:00
Brad King
05d03c67fb Merge topic 'doc-TARGET_PROPERTY-unset'
d6bda72981 Help: Document TARGET_PROPERTY genex behavior on unset property

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9506
2024-05-13 09:32:30 -04:00
Kitware Robot
c6cb0b7ff6 CMake Nightly Date Stamp 2024-05-13 00:04:43 -04:00
Kitware Robot
cb7795258d CMake Nightly Date Stamp 2024-05-12 00:01:07 -04:00
scivision
fc2bce54c7
Help: try_compile how to pass compiler options
it wasn't obvious how to pass compiler options. Since the old
add_definitions() is used we can workaround this by passing
compiler options there.
2024-05-11 22:57:38 -04:00
Kitware Robot
40513f6a90 CMake Nightly Date Stamp 2024-05-11 00:01:14 -04:00
Brad King
29404cfd92 cmake: Capture more complete configure/generate steps in printed durations
Extend the start/end times from commit 5f0c5ec49b (cmake: Print
configure/generate time, 2023-01-17, v3.26.0-rc1~67^2) to capture
generator-specific Configure/Generate actions, and the time spent
in the internal "Compute" step at the start of generation.

Fixes: #25482
2024-05-10 15:20:11 -04:00
Brad King
f106df8f96 cmGlobalVisualStudio8Generator: Remove unused Configure method override
It has not been needed since commit c85367f408 (VS: Compute project
GUIDs deterministically, 2015-06-02, v3.4.0-rc1~496^2)
2024-05-10 14:20:52 -04:00
Brad King
e89a4378ec Merge topic 'macos-prefer-system-curl'
31884a7146 ci: Add nightly job to build CMake with vendored curl on macOS
d3cbee99e3 macOS: Prefer building with system-provided curl
d224c018fe nghttp2: Skip "Using system-installed" message if using system curl

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !9500
2024-05-10 10:09:00 -04:00
Brad King
7067f8a8dd Merge topic 'tutorial-step9'
baf6a37ffa Tutorial: Set CPACK_GENERATOR in Step 9

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Tested-by: Juan Ramos <juan.ramos@kitware.com>
Merge-request: !9503
2024-05-10 10:07:37 -04:00
Brad King
bed14d734d Merge topic 'CheckIPOSupported-C-prototypes'
d5075fd10f CheckIPOSupported: Fix -Wstrict-prototypes warnings in check for C

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9502
2024-05-10 10:06:50 -04:00
Brad King
d6bda72981 Help: Document TARGET_PROPERTY genex behavior on unset property
Also add an explicit test for the case.

Fixes: #25968
2024-05-10 09:50:33 -04:00
Brad King
b3245f33ef Tests/RunCMake/install: Avoid intermittent failures on AIX
Since commit 3a739d4dcb (EXPORT_PACKAGE_DEPENDENCIES: Add experimental
feature gate, 2024-03-12, v3.29.0-rc4~6^2) a case has intermittently
failed due to CMake rerunning during the case's build step and printing
the feature gate warning to stderr.  Redirect all build output to stdout
as we do in similar cases elsewhere.

Although we don't expect CMake to re-run in this case, somehow an AIX
host's filesystem is occasionally recording high-resolution timestamps
out of order among files saved in quick succession.
2024-05-10 08:48:02 -04:00
Kitware Robot
2e5b40f581 CMake Nightly Date Stamp 2024-05-10 00:01:33 -04:00
Ben Boeckel
c0385a6b9c Modules/Compiler/Clang: add a reason for non-libc++ compilations
See: #25965
2024-05-09 15:45:05 -04:00
Brad King
31884a7146 ci: Add nightly job to build CMake with vendored curl on macOS
We now build with the system curl on macOS by default.
Explicitly test that the vendored curl still works.
2024-05-09 14:58:26 -04:00
Brad King
d3cbee99e3 macOS: Prefer building with system-provided curl
Our vendored curl only enables the Secure Transport backend by default
(`CURL_SSL_BACKEND=secure-transport`), but it is limited to TLS 1.2.

The macOS SDK provides the curl development components, and the
corresponding `libcurl.4.dylib` runtime library comes with macOS.
On macOS 12 and above, the default `CURL_SSL_BACKEND=openssl`
backend seems to be capable of selecting TLS 1.3 at runtime for
https connections.

Unfortunately the macOS version of curl, even on macOS 14.4, does
not accept `CURL_SSLVERSION_TLSv1_3` at runtime to enforce TLS 1.3.
However, while our vendored curl accepts the option and passes it
to Secure Transport, macOS does not actually enforce it anyway.

Fixes: #25870
Fixes: #23701
2024-05-09 14:58:06 -04:00
betsy.mcphail
baf6a37ffa Tutorial: Set CPACK_GENERATOR in Step 9
In addition to CPACK_SOURCE_GENERATOR also set CPACK_GENERATOR.
2024-05-09 14:03:06 -04:00
Marc Chevrier
c164404b2e FindPython: On Windows, Enhance python debug version support
Add the following variables:
* Python_EXECUTABLE_DEBUG
* Python_INTERPRETER
* Python_DEBUG_POSTFIX

and target Python::InterpreterDebug.

python_add_library() command Manage DEBUG_POSTFIX target property based
on the value of Python_DEBUG_POSTFIX variable.

Fixes: #25874
2024-05-09 19:08:47 +02:00
Brad King
760ad9bcc7 Merge topic 'remove-vs9-generator'
03c31b0395 Drop Visual Studio 9 2008 generator
88c70dde34 cmGlobalVisualStudioGenerator: Use member 'Version' more directly
0bdcf1cb17 cmLocalVisualStudio7Generator: Make vfproj conditions more explicit
acc5ea7390 cmLocalVisualStudio7Generator: Reset per-target members after every target
252702bb35 cmVisualStudioGeneratorOptions: Order version check branches consistently

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !9496
2024-05-09 10:31:01 -04:00
Brad King
a6aac9b96d Merge topic 'cmake-module-path-example'
8763da8268 Help: Provide simple CMAKE_MODULE_PATH example

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9498
2024-05-09 10:30:10 -04:00
Brad King
d224c018fe nghttp2: Skip "Using system-installed" message if using system curl
We only use the system nghttp2 when `CMAKE_USE_SYSTEM_NGHTTP2` is ON and
`CMAKE_USE_SYSTEM_CURL` is OFF.
2024-05-09 08:55:22 -04:00
Brad King
d5075fd10f CheckIPOSupported: Fix -Wstrict-prototypes warnings in check for C
Fixes: #25967
2024-05-09 08:22:26 -04:00
Kitware Robot
8a5c5885aa CMake Nightly Date Stamp 2024-05-09 00:01:17 -04:00
Brad King
648a7fb9b9 Merge topic 'tls-verify'
99a6cb0538 ci: Host our own URL to test expected TLS_VERIFY failure
acb84096ca Tests/RunCMake/file-DOWNLOAD: Add option to control TLS_VERIFY failure URL

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9495
2024-05-08 10:48:49 -04:00
Brad King
8113197270 Merge topic 'doc-transitive-properties'
c3c00460b2 Help: Clarify TARGET_PROPERTY genex evaluation of transitive properties
9ec61c72e3 Help: Add intro text to cmake-buildsystem(7) build properties sections

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9499
2024-05-08 10:48:08 -04:00
Brad King
99a6cb0538 ci: Host our own URL to test expected TLS_VERIFY failure
Avoid unnecessary load on an external resource.
2024-05-08 10:45:12 -04:00
Brad King
acb84096ca Tests/RunCMake/file-DOWNLOAD: Add option to control TLS_VERIFY failure URL 2024-05-08 10:44:53 -04:00
Brad King
03c31b0395 Drop Visual Studio 9 2008 generator
This generator has been deprecated since CMake 3.27.  Remove it.
2024-05-08 10:37:34 -04:00
Brad King
88c70dde34 cmGlobalVisualStudioGenerator: Use member 'Version' more directly 2024-05-08 10:37:34 -04:00
Brad King
0bdcf1cb17 cmLocalVisualStudio7Generator: Make vfproj conditions more explicit
Avoid relying on the conditions for `vcproj` used by the VS9 generator.
2024-05-08 10:37:25 -04:00
Brad King
acc5ea7390 cmLocalVisualStudio7Generator: Reset per-target members after every target 2024-05-08 10:36:22 -04:00