Commit Graph
37938 Commits
Author SHA1 Message Date
Brad King dcb82f6d6d Merge topic 'cmPropertySentinel-definition'
319c427d2f cmPropertySentinel: update definition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11129
2025-09-02 09:48:07 -04:00
Brad King 3af621006d Merge topic 'var-check-before-usage'
d614e8fb3f cmLocalGenerator: check variables before usage

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11127
2025-09-02 09:42:42 -04:00
Kitware Robot b3312daf05 CMake Nightly Date Stamp 2025-09-02 00:05:03 -04:00
Brad King bc0774c25f Merge topic 'cmake-gui-preset-no-generator'
18f1f19c82 cmake-gui: Support configure presets version 3+ without generator field

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11126
2025-09-01 14:40:11 -04:00
Richard Thomson 18f1f19c82 cmake-gui: Support configure presets version 3+ without generator field
Presets allow this since commit 06e6981336 (cmake-presets: Make
generator and binaryDir fields optional, 2021-03-26, v3.21.0-rc1~346^2).

Fixes: #25817
2025-09-01 14:34:06 -04:00
Marc Chevrier 319c427d2f cmPropertySentinel: update definition
Reported by https://pvs-studio.com/en/blog/posts/cpp/1277/ (N8)

Issue: #27159
2025-09-01 09:39:30 +02:00
Kitware Robot cd618e9322 CMake Nightly Date Stamp 2025-09-01 00:05:05 -04:00
Kitware Robot e1bd97de9e CMake Nightly Date Stamp 2025-08-31 00:05:23 -04:00
Kitware Robot 8275211a48 CMake Nightly Date Stamp 2025-08-30 00:05:19 -04:00
Marc Chevrier d614e8fb3f cmLocalGenerator: check variables before usage
Reported by https://pvs-studio.com/en/blog/posts/cpp/1277/ (N2)

Issue: 27159
2025-08-29 18:47:28 +02:00
Kitware Robot 8b94564ee4 CMake Nightly Date Stamp 2025-08-29 00:05:54 -04:00
Kitware Robot 4d21b9e6d8 CMake Nightly Date Stamp 2025-08-28 00:05:17 -04:00
Brad King ba8c4a15f1 CMake 4.1.1 2025-08-27 12:33:28 -04:00
Brad King 985bbf724a Merge topic 'fbuild'
94113ac687 ci: Add jobs for FASTBuild generator on Linux, macOS, and Windows
01147454e7 FASTBuild: Add generator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Osyotr <zhenchik35026@gmail.com>
Acked-by: Peter Kokot <peterkokot@gmail.com>
Merge-request: !10941
2025-08-27 11:43:37 -04:00
Brad King f156d7fa1f Merge topic 'FindPython-NumPy-target'
0a4a4d2053 FindPython: NumPy target does not depend on Development.Module

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11093
2025-08-27 11:10:59 -04:00
Brad King e804896981 Merge topic 'instrumentation-configure-content'
451e2cb2a1 instrumentation: Add cmake_instrumentation check to ctest_instrumentation test
e6b37105ba instrumentation: Collect custom content from CMake configure

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10988
2025-08-27 11:02:21 -04:00
Brad King a9097e8f0d Merge topic 'cmList-swap-fix'
071e8678de cmList: fix swap function definition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !11101
2025-08-27 10:53:27 -04:00
Brad King e0cd3b7e7d Merge topic 'cmList-swap-fix' into release-4.1
071e8678de cmList: fix swap function definition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !11101
2025-08-27 10:53:22 -04:00
Brad King fe9b7acc4a Merge topic 'vs7-generator-utility-target-typo'
93a83bcc00 cmGlobalVisualStudio7Generator: fix initialization typo

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11100
2025-08-27 10:48:18 -04:00
Brad King cf9cdde33d Merge topic 'vs7-generator-utility-target-typo' into release-4.1
93a83bcc00 cmGlobalVisualStudio7Generator: fix initialization typo

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11100
2025-08-27 10:48:13 -04:00
Brad King 79122abdca Merge topic 'ninja-many-subdirs'
6de40e7a4d Ninja: Fix regression with `.bat` wrapper around `ninja`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Acked-by: Josef Angstenberger <code@jtxa.de>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !11111
2025-08-27 10:40:13 -04:00
Brad King 18b3dd1e91 Merge topic 'ninja-many-subdirs' into release-4.1
6de40e7a4d Ninja: Fix regression with `.bat` wrapper around `ninja`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Acked-by: Josef Angstenberger <code@jtxa.de>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !11111
2025-08-27 10:40:10 -04:00
Kitware Robot a6e40f0b99 CMake Nightly Date Stamp 2025-08-27 00:05:10 -04:00
Eduard Voronkin 01147454e7 FASTBuild: Add generator
Fixes: #15294
2025-08-26 14:29:01 -07:00
Kitware Robot 1cb225d90f CMake Nightly Date Stamp 2025-08-26 00:05:06 -04:00
Brad King 6de40e7a4d Ninja: Fix regression with .bat wrapper around ninja
Revise the change from commit 5a36d0c9e7 (Ninja: Fix regression with a
large number of subdirectories, 2025-03-04, v4.0.0-rc3~2^2) to use a
command-line length limit small enough for `.bat` files.

Fixes: #27153
2025-08-25 11:31:23 -04:00
Marc Chevrier 0a4a4d2053 FindPython: NumPy target does not depend on Development.Module
Fixes: #27123
2025-08-25 15:28:41 +02:00
Brad King 46fc0232ae Merge topic 'fix-get-mapped-config'
05ae95c864 cmTarget: Overhaul GetMappedConfig

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10995
2025-08-25 09:16:53 -04:00
Kitware Robot ae7efabf2c CMake Nightly Date Stamp 2025-08-25 00:04:56 -04:00
Kitware Robot c846595f6e CMake Nightly Date Stamp 2025-08-24 00:04:35 -04:00
Kitware Robot a5c0240d1a CMake Nightly Date Stamp 2025-08-23 00:04:46 -04:00
Kitware Robot 492a531e8a CMake Nightly Date Stamp 2025-08-22 00:05:48 -04:00
Marc Chevrier 071e8678de cmList: fix swap function definition
swap function should be in the same namespace as the cmList class.

Reported by https://pvs-studio.com/en/blog/posts/cpp/1277/ (N1)

Issue: #27159
2025-08-21 17:19:52 +02:00
Martin Duffy e6b37105ba instrumentation: Collect custom content from CMake configure
Add a `CUSTOM_CONTENT` argument to `cmake_instrumentation()` for collecting
custom content from configure time.

Snippet files include a reference to a JSON file containing any `CUSTOM_CONTENT`
that was added by this command.

Fixes: #26703
2025-08-21 07:20:12 -04:00
Kitware Robot 8bb3173bd5 CMake Nightly Date Stamp 2025-08-21 00:05:08 -04:00
Ben Boeckel 93a83bcc00 cmGlobalVisualStudio7Generator: fix initialization typo
Typo introduced in b82a74d918 (generators: use GetSupportDirectory() in
more places, 2025-05-21) via !10812. Pointed out in a PVS-Studio blog
post.

See: https://pvs-studio.com/en/blog/posts/cpp/1277/ (N3)
2025-08-20 22:45:13 -04:00
Matthew Woehlke 05ae95c864 cmTarget: Overhaul GetMappedConfig
Create a brand new implementation of `cmTarget::GetMappedConfig` which
prioritized a target's `IMPORTED_CONFIGURATIONS` as the 'source of
truth' for what configurations are available. In particular, this means
that configuration selection when `IMPORTED_CONFIGURATIONS` is set does
not depend on the library type in any manner. The fallback logic also
uses a more consistent 'usability' criteria that should result in more
consistent configuration selection, particularly for `INTERFACE`
targets.

The previous implementation is retained as a separate method for users
requesting the OLD behavior.

Fixes: #27022
2025-08-20 14:44:05 -04:00
Brad King 1f92180417 Merge topic 'patch-FindJsonCpp-version'
2997d37adf FindJsonCpp: Add JsonCpp_VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11090
2025-08-20 10:12:25 -04:00
Brad King d84e4dd621 Merge topic 'ctest-T-test-timeout'
9dc3edbba8 ctest: Restore default test timeout for command-line `-T Test` step
8745e6308e ctest: Restore default of no time limit for command-line `-T Test` step

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11094
2025-08-20 10:01:02 -04:00
Brad King 0ef525208c Merge topic 'ctest-T-test-timeout' into release-4.1
9dc3edbba8 ctest: Restore default test timeout for command-line `-T Test` step
8745e6308e ctest: Restore default of no time limit for command-line `-T Test` step

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11094
2025-08-20 10:01:00 -04:00
Kitware Robot 9bab48745e CMake Nightly Date Stamp 2025-08-20 00:04:37 -04:00
Kitware Robot 8c07462a8b CMake Nightly Date Stamp 2025-08-19 00:04:49 -04:00
Brad King 9dc3edbba8 ctest: Restore default test timeout for command-line -T Test step
In commit 774fcbe49c (CTest: Base command line mode on top of scripting
commands, 2024-10-05, v4.0.0-rc1~653^2) the implementation of this step
was converted to use `ctest_test` internally.  That command has its own
default test timeout of 600s if the ctest "TimeOut" configuration value
is not set.  If "TimeOut" is not set then default it to our previous
command-line mode default test timeout.

Fixes: #27139
2025-08-18 14:30:56 -04:00
Brad King 8745e6308e ctest: Restore default of no time limit for command-line -T Test step
Refactoring in commit 83845184db (cmCTest: Move timing functions from
cmCTestScriptHandler to cmCTest, 2024-10-23, v4.0.0-rc1~576^2) enabled a
time limit even if the undocumented `CTEST_TIME_LIMIT` script variable
is not set.
2025-08-18 14:10:15 -04:00
Brad King 030a63dd54 Merge topic 'xcframework-plist-cache'
da330bcf88 macOS: Cache parsed xcframework plist content

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11076
2025-08-18 10:07:14 -04:00
Brad King fa2ed6568c Merge topic 'cpack-dmg-sync'
ef739edd20 CPack/DragNDrop: Prevent hdiutil "resource is busy" failures

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11086
2025-08-18 10:02:20 -04:00
Brad King 9062fc9c16 Merge topic 'install-object-name-strategy'
c651b0e002 objects: implement installation naming strategies
29c7f19280 cmTarget: add the `INSTALL_OBJECT_NAME_STRATEGY` property
757c40c478 cmObjectLocation: add a class to track object locations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11046
2025-08-18 09:45:19 -04:00
Kitware Robot 2dd0e8438b CMake Nightly Date Stamp 2025-08-18 00:05:07 -04:00
Peter Kokot 2997d37adf FindJsonCpp: Add JsonCpp_VERSION
This also removes the JsonCpp_VERSION_STRING result variable, which
doesn't need to be deprecated and further provided by the module as this
is internal module.

Issue: #27088
2025-08-17 08:15:13 +02:00
Kitware Robot 392b4fc9aa CMake Nightly Date Stamp 2025-08-17 00:04:28 -04:00