Commit Graph
40353 Commits
Author SHA1 Message Date
AJIOB fa60523bf6 Source: fix ast-grep suggestions 2026-09-29 08:50:54 -04:00
AJIOB e704f6d593 Source: improve corner cases possible reallocations 2026-09-29 08:50:54 -04:00
AJIOB a0a17c9ce8 Source: fix almost all ast-grep suggestions 2026-09-29 08:50:54 -04:00
Brad King d291927f5d Merge topic 'GenEx-GLOBAL_PROPERTY'
26690d7678 Add generator expression $<GLOBAL_PROPERTY>

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12573
2026-09-29 08:20:27 -04:00
Brad King 168050acd9 Merge topic 'reduce-realloc-clang-tidy-part12'
5a54a6ac3f cmcov: fix short lines logging
ed3bc6c262 CTest: fix countField value for non-first test run
4e9075ebe2 Source: reduce ostringstream usage for CTest
d9dd2d4ff5 Source: reduce ostringstreams usage

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12566
2026-09-29 08:18:38 -04:00
Brad King 1e6e775b0a Merge topic 'new-fuzzer-4'
97c527aeb8 OSS-Fuzz: Add new fuzzer targets Package Info Reader

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12544
2026-09-29 08:17:10 -04:00
Brad King 76ad67592d Merge topic 'file-READ_MACHO-crash'
6d52fa636f file(READ_MACHO): Avoid crash on unknown archs in this undocumented command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12572
2026-09-29 08:15:15 -04:00
Brad King a30ace907e Source: fix ast-grep warnings
Fix a case missed by commit 66cfa81885 (Source: fix ast-grep warnings,
2026-09-26) due to a logical conflict with commit d1d6e6d69d (Source:
reduce stringstreams usage, 2026-09-24) before the check was enabled by
commit 5825a86329 (ci: Add lint job to run ast-grep on our C++ code,
2026-09-28).
2026-09-29 07:58:10 -04:00
Brad King 196537e4ff Merge topic 'ast-grep-fixes-2'
66cfa81885 Source: fix ast-grep warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12567
2026-09-29 07:19:43 -04:00
Kitware Robot 10f1daebac CMake Nightly Date Stamp 2026-09-29 00:05:52 -04:00
Arthur Chan 97c527aeb8 OSS-Fuzz: Add new fuzzer targets Package Info Reader
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
2026-09-28 11:58:31 -04:00
Brad King 6d52fa636f file(READ_MACHO): Avoid crash on unknown archs in this undocumented command
`macho_arch_name_for_cpu_type` is implemented by the dynamic loader that
ships with the OS, so it can only report architectures that were
released at the time that OS was released.  It can return `nullptr`.

Fixes: #26680
Fixes: #28118
Issue: #28124
2026-09-28 11:48:33 -04:00
Marc Chevrier 26690d7678 Add generator expression $<GLOBAL_PROPERTY>
Fixes: #28121
2026-09-28 17:25:58 +02:00
Brad King 1ece2660b2 Merge topic 'drop-import-std-gate'
4874f044bd Experimental: Remove import std experimental gate
b65a094a31 c++modules: Don't set CMAKE_CXX_STDLIB_MODULES_JSON if the file does not exist

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Sharadh Rajaraman <r.sharadh@outlook.sg>
Merge-request: !12547
2026-09-28 08:36:27 -04:00
Brad King 19cd1d8a8e Merge topic 'fix-mod-manifest-source-path'
115a779a4b CPS/c++modules: Fix manifest paths from separate install dirs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12558
2026-09-28 08:31:58 -04:00
Brad King 9540325a89 Merge topic 'reduce-realloc-clang-tidy-part11'
d1d6e6d69d Source: reduce stringstreams usage
6c7dfb3afd Source: reduce ostringstream usage for IFW
f4bd297d05 Source: reduce useless std::string building
99e8ac2fb6 Source: use more effective overloading

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12560
2026-09-28 08:29:33 -04:00
Brad King f84a2060b3 Merge topic 'update-kwsys'
a4eb3c9602 Merge branch 'upstream-KWSys' into update-kwsys
31d645bc1e KWSys 2026-09-28 (9fb826eb)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12563
2026-09-28 08:25:28 -04:00
Brad King a4eb3c9602 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2026-09-28 (9fb826eb)
2026-09-28 08:22:37 -04:00
Kitware Robot 2207f5db1b CMake Nightly Date Stamp 2026-09-28 00:05:15 -04:00
Kitware Robot 1d03705da6 CMake Nightly Date Stamp 2026-09-27 00:05:28 -04:00
AJIOB 66cfa81885 Source: fix ast-grep warnings 2026-09-26 21:54:54 +00:00
AJIOB 5a54a6ac3f cmcov: fix short lines logging 2026-09-26 21:19:50 +00:00
AJIOB ed3bc6c262 CTest: fix countField value for non-first test run 2026-09-26 21:19:50 +00:00
AJIOB 4e9075ebe2 Source: reduce ostringstream usage for CTest 2026-09-26 21:19:50 +00:00
Kitware Robot e8befb989b CMake Nightly Date Stamp 2026-09-26 00:06:33 -04:00
AJIOB d9dd2d4ff5 Source: reduce ostringstreams usage 2026-09-25 19:15:15 +00:00
Vito Gamberini 4874f044bd Experimental: Remove import std experimental gate
Fixes: #28014
2026-09-25 11:03:02 -04:00
Brad King 54b098b190 Merge topic 'fix-msvc-usage-effects'
aafdafadf0 c++modules: Track MSVC_RUNTIME_LIBRARY usage effects

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12559
2026-09-25 10:19:53 -04:00
Brad King 8aa0920703 Merge topic 'cps-pkg-config'
a4f08400f4 CPS/PkgC: Add PkgC interop to CPS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12336
2026-09-25 10:18:06 -04:00
Brad King 614098f64b Merge topic 'ctest-resource-error-action'
7174aa5978 CTest: make test result for insufficient resources configurable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !12541
2026-09-25 10:15:29 -04:00
Brad King 2c3119b7c9 Merge topic 'xcode-no-buildStyles'
cc8e42ee61 Xcode: Drop unused buildStyles field from generated project object
351050844e Xcode: Clarify local variable names in project object construction
6660475fd8 Xcode: Remove unused project file object

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12550
2026-09-25 09:57:23 -04:00
Brad King 561f8b0515 Merge topic 'ctest-interactive-debug-mode-script'
273ef22e84 ctest: Honor --interactive-debug-mode in dashboard and script modes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12549
2026-09-25 09:54:35 -04:00
Brad King 0d9ae117f5 Merge topic 'externalproject-install-prefix'
2b07afa1a1 ExternalProject: Default CMAKE_INSTALL_PREFIX to INSTALL_DIR

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12486
2026-09-25 09:42:41 -04:00
Kitware Robot 01106e141b CMake Nightly Date Stamp 2026-09-25 00:04:59 -04:00
AJIOB d1d6e6d69d Source: reduce stringstreams usage 2026-09-24 20:49:12 +00:00
AJIOB 6c7dfb3afd Source: reduce ostringstream usage for IFW 2026-09-24 20:49:12 +00:00
AJIOB f4bd297d05 Source: reduce useless std::string building 2026-09-24 20:35:28 +00:00
Vito Gamberini aafdafadf0 c++modules: Track MSVC_RUNTIME_LIBRARY usage effects
Fixes: #28030
2026-09-24 16:26:53 -04:00
AJIOB 99e8ac2fb6 Source: use more effective overloading 2026-09-24 20:14:35 +00:00
Vito Gamberini a4f08400f4 CPS/PkgC: Add PkgC interop to CPS
Extend the automatic export system of install(PACKAGE_INFO) and
export(PACKAGE_INFO) to handle targets created with cmake_pkg_config,
and allow find_package to resolve CPS requirements in the pkg-config
domain.

A pkg-config package has no components of its own, so it is exposed to
CPS as a package named after itself with a single component of the same
name; such references take the form "<PkgName>:<PkgName>" and resolve
directly to the foreign target which provides the package.  The domains
in which a requirement may be found are recorded in a CMake extension
section rather than a non-standard `domains` attribute.
2026-09-24 14:47:59 -04:00
Vito Gamberini 115a779a4b CPS/c++modules: Fix manifest paths from separate install dirs
Fixes: #28011
2026-09-24 14:04:17 -04:00
Kitware Robot abf5a58ecc CMake Nightly Date Stamp 2026-09-24 00:05:26 -04:00
Brad King f4e378278b Merge topic 'cmp0181-trycompile-policy-order'
5e52f92a2a try_compile: Add support for toolchain files to query CMP0181

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12540
2026-09-23 13:47:31 -04:00
Brad King bb13ddbfe1 Merge topic 'install-name-dir-no-separator-conversion'
726e6454b5 Ninja,Makefile: Do not convert separators in the install-name directory

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12530
2026-09-23 13:46:15 -04:00
Brad King 2975be1a6b Merge topic 'procmetrics-command-chain'
1528113bdf instrumentation: Prevent inherited process metrics in chained commands

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12513
2026-09-23 13:40:51 -04:00
Brad King 6498b76d61 Merge topic 'reduce-realloc-clang-tidy-part3'
0aa1eaf506 Source: Reduce string allocations, part 4
1d2f0120be Source: Reduce string allocations, part 3
cb20c5bd89 Source: Reduce string allocations, part 2

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12538
2026-09-23 13:30:55 -04:00
Brad King a399d4c1ea Merge topic 'install-TARGETS-RUNTIME_DEPENDENCY_TARGETS'
53019cd2e6 install(TARGETS): Add option to install runtime deps built as other targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12483
2026-09-23 13:22:51 -04:00
Brad King cc8e42ee61 Xcode: Drop unused buildStyles field from generated project object
The `buildStyles` field was deprecated by Xcode 2.1, and has been
ignored since Xcode 3.  Since commit 7373b389eb (Xcode: Drop support for
Xcode versions below 3, 2017-04-21, v3.9.0-rc1~223^2) we do not need to
support older versions.

Fixes: #20704
2026-09-23 13:22:36 -04:00
Brad King 351050844e Xcode: Clarify local variable names in project object construction 2026-09-23 13:19:44 -04:00
Brad King 6660475fd8 Xcode: Remove unused project file object 2026-09-23 12:08:57 -04:00