Commit Graph
76987 Commits
Author SHA1 Message Date
Kitware Robot 30a6e89923 CMake Nightly Date Stamp 2026-08-23 00:05:48 -04:00
Kitware Robot 03676b051d CMake Nightly Date Stamp 2026-08-22 00:05:25 -04:00
Brad King dd1580ba69 Merge topic 'autouic-document-ui-header-path'
3329328e5c Help: AUTOUIC: Document how generated ui header files are named

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12419
2026-08-21 09:38:38 -04:00
Brad King e2a8abcb03 Merge topic 'update-kwsys'
21063dc0c0 Merge branch 'upstream-KWSys' into update-kwsys
32911ff9d2 KWSys 2026-08-21 (c1021f19)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12418
2026-08-21 08:56:01 -04:00
Brad King 21063dc0c0 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2026-08-21 (c1021f19)
2026-08-21 08:52:45 -04:00
KWSys Upstream 32911ff9d2 KWSys 2026-08-21 (c1021f19)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit c1021f197a13598595ac0a268001c78280a9029c (master).

Upstream Shortlog
-----------------

Ben Boeckel (1):
      9c6e68a4 SystemInformation: remove unused variable
2026-08-21 08:52:45 -04:00
Kitware Robot c5a5c4a6e2 CMake Nightly Date Stamp 2026-08-21 00:07:47 -04:00
Joerg Bornemann 3329328e5c Help: AUTOUIC: Document how generated ui header files are named
The name of a generated ui header follows the '#include' directive that
requests it, not the location of the .ui file.  That was not written down,
and neither was the optional directory prefix such a directive may carry.

CMake nevertheless has to predict the name at configure time, in order to
register the generated header as a source of the targets in the directory.
The prediction assumes that the include prefix matches the location of the
.ui file relative to CMAKE_CURRENT_SOURCE_DIR, so it is wrong when the .ui
file lies outside of that directory, or lies in a subdirectory but is
included without a prefix.

Document both, along with the resulting symptoms, and point to Qt's
qt_add_ui() command, which takes the include prefix explicitly and
therefore needs no prediction at all.

Issue: #23523
2026-08-20 15:00:09 +02:00
Kitware Robot 419e5f0d6b CMake Nightly Date Stamp 2026-08-20 00:05:54 -04:00
Kitware Robot 80066f9851 CMake Nightly Date Stamp 2026-08-19 00:18:01 -04:00
Kitware Robot b13cdb037c CMake Nightly Date Stamp 2026-08-18 00:07:21 -04:00
Kitware Robot f0952e573f CMake Nightly Date Stamp 2026-08-17 00:05:43 -04:00
Kitware Robot 7bb8d9da1f CMake Nightly Date Stamp 2026-08-15 00:05:23 -04:00
Brad King 03f6a7f440 Merge topic 'jsonstate-builddb'
e42cde3405 cmBuildDatabase: Use cmJSONState to read mcdb's

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12406
2026-08-14 06:40:09 -04:00
Brad King 450f54656e Merge topic 'jsonstate-vs-flagtable'
e2da85c672 VS: Use cmJSONState to read flag table

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12404
2026-08-14 06:38:43 -04:00
Brad King 0c196bc58e Merge topic 'update-libuv'
9fdcbaae06 Merge branch 'upstream-libuv' into update-libuv
66adcb206d libuv 2026-03-11 (d2a45ce3)
4c61484f5c libuv: Update script to get libuv 1.52.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12402
2026-08-14 06:37:11 -04:00
Brad King ae2dd9a2d1 Merge topic 'update-kwsys'
b06e6b412f Merge branch 'upstream-KWSys' into update-kwsys
3db61dc184 KWSys 2026-08-14 (f87534bd)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12401
2026-08-14 06:35:38 -04:00
Brad King f254d78638 Merge topic 'remove_message_prefix'
4eece9b32c cmake_language: Remove extraneous MESSAGE_PREFIX param

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12400
2026-08-14 06:34:14 -04:00
Brad King 1814d17624 Merge branch 'release-4.4' 2026-08-14 06:30:36 -04:00
Brad King ca0ed0f66f Merge topic 'swift-cmp0215-update'
e4a37fbf15 Tests/RunCMake/Swift: Add CMP0195 behavior checks
b7a78568c3 CMP0215: Update NEW behavior to require CMP0157/CMP0195 to be NEW

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12407
2026-08-14 06:30:36 -04:00
Brad King 1e1b1bef21 Merge topic 'swift-cmp0215-update' into release-4.4
e4a37fbf15 Tests/RunCMake/Swift: Add CMP0195 behavior checks
b7a78568c3 CMP0215: Update NEW behavior to require CMP0157/CMP0195 to be NEW

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12407
2026-08-14 06:30:34 -04:00
KWSys Upstream 3db61dc184 KWSys 2026-08-14 (f87534bd)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit f87534bd3ddedb6428ca3155852cd8b65cf09f32 (master).

Upstream Shortlog
-----------------

Ben Boeckel (2):
      3d74d809 SystemInformation: clean up memory allocated with `SymInitialize`
      57792988 SystemInformation: avoid reporting unrelated symbols

Jaswant Panchumarti (1):
      f22a3c0f SystemInformation: restore support for symbols without PDB files

Jeremy Nimmer (1):
      fbc6ddc9 SystemTools: mark impl functions as `static`
2026-08-14 06:29:09 -04:00
Brad King b06e6b412f Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2026-08-14 (f87534bd)
2026-08-14 06:29:09 -04:00
Kitware Robot d39eee10b3 CMake Nightly Date Stamp 2026-08-14 00:11:42 -04:00
Evan Wilde e4a37fbf15 Tests/RunCMake/Swift: Add CMP0195 behavior checks
Adding checks to ensure that CMP0195 has the desired effect. If the
Swift compiler is too old and does not include the module triple in the
emitted target info, we won't set `CMAKE_Swift_MODULE_TRIPLE` and end up
with the flat directory structure. In this case, these tests won't have
the expected layout.

Issue: #28021
2026-08-13 10:18:16 -04:00
Evan Wilde b7a78568c3 CMP0215: Update NEW behavior to require CMP0157/CMP0195 to be NEW
Update CMP0215 to avoid attempting to iterate through the flags
looking for `-emit-module-path` ins the user-specified flags. We don't
do this anywhere else in the code. The existing implementation didn't
handle correctly parsing the flag so `-I blah/my-emit-module-path/` and
`-Xcc -emit-module-path ...` would both trigger it, result in the
compiler not emitting any module. Furthermore, it didn't include the
user-specified module path as part of the build graph resulting in an
incorrect build graph that would never resolve.

The only two appropriate layouts for the module are either the flat
binary module file with the name `<module-name>.swiftmodule`, or the
nested form with
`<module-name>.swiftmodule/<module-triple>.swiftmodule`. The noted
Swift-Syntax situation passes the explicit `-emit-module-path` to get to
the latter form. This form is automatically emitted by CMake when
CMP0195 is `NEW`, removing the need for the flag. The Swift project
generally recommends the nested directory structure since it gathers all
of the generated interface outputs from the compiler (textual swift
interfaces, swiftdoc, sourceinfo, and the binary swiftmodule file) in a
single place, and since it uses the module triple in the filename,
cleanly allows fat mach-o binaries on Apple platforms.

Fixes: #28021
2026-08-13 10:14:16 -04:00
Brad King 9fdcbaae06 Merge branch 'upstream-libuv' into update-libuv
# By libuv upstream
* upstream-libuv:
  libuv 2026-03-11 (d2a45ce3)
2026-08-13 09:52:24 -04:00
libuv upstream 66adcb206d libuv 2026-03-11 (d2a45ce3)
Code extracted from:

    https://github.com/libuv/libuv.git

at commit d2a45ce364ed97e916be3bcecfd756f15d852473 (d2a45ce364ed97e916be3bcecfd756f15d852473).
2026-08-13 09:52:24 -04:00
Brad King 4c61484f5c libuv: Update script to get libuv 1.52.1
Use a commit just after the v1.52.1 tag to get some compilation fixes.
2026-08-13 09:52:19 -04:00
Tyler Yankee e42cde3405 cmBuildDatabase: Use cmJSONState to read mcdb's
This approach will be more portable.
2026-08-13 08:20:13 -04:00
Kitware Robot 7abf903927 CMake Nightly Date Stamp 2026-08-13 00:08:46 -04:00
Tyler Yankee e2da85c672 VS: Use cmJSONState to read flag table
This approach will be more portable.
2026-08-12 16:56:55 -04:00
Tom Osika 4eece9b32c cmake_language: Remove extraneous MESSAGE_PREFIX param 2026-08-12 12:01:53 -04:00
Brad King aadc9b938c Merge branch 'release-4.4' 2026-08-12 11:47:02 -04:00
Brad King 3d5f989836 Merge topic 'clang-cl-absolute-source-path'
68491cedcf clang-cl: Fix C++ module scanning when cross-compiling from Linux

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12389
2026-08-12 11:47:02 -04:00
Brad King f27e315222 Merge topic 'clang-cl-absolute-source-path' into release-4.4
68491cedcf clang-cl: Fix C++ module scanning when cross-compiling from Linux

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12389
2026-08-12 11:47:00 -04:00
Brad King c257e9d8fd Merge branch 'release-4.4' 2026-08-12 11:45:11 -04:00
Brad King d882f429c5 Merge topic 'libuv-macos-10.5'
6910a0e8cd libuv: Restore support for macOS 10.5 and 10.6

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !12397
2026-08-12 11:45:10 -04:00
Brad King bd456b9f3a Merge topic 'libuv-macos-10.5' into release-4.4
6910a0e8cd libuv: Restore support for macOS 10.5 and 10.6

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !12397
2026-08-12 11:45:08 -04:00
Brad King 9f8444f36a Merge branch 'release-4.4' 2026-08-12 11:42:42 -04:00
Brad King 9f73c35d67 Merge topic 'list-transform-shared-state'
3151f7824f cmList: Fix shared state across nested list(TRANSFORM) calls

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12390
2026-08-12 11:42:42 -04:00
Brad King 478912138b Merge topic 'list-transform-shared-state' into release-4.4
3151f7824f cmList: Fix shared state across nested list(TRANSFORM) calls

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12390
2026-08-12 11:42:40 -04:00
Brad King 59b7fcc1f0 Merge topic 'update-libarchive'
e420259ecc libarchive: Restore compilation of archive_parse_date within CMakeLib
5b530ba347 libarchive: Set build options the way we need for CMake
dbcd6402c3 Utilities: Update hard-coded try_compile results for libarchive 3.8.9
357710687f Merge branch 'upstream-LibArchive' into update-libarchive
94ae161ab5 LibArchive 2026-07-28 (27cbc782)
46ccf27ae3 libarchive: Update script to get 3.8.9
16984b0124 ctest: Fix STOP_TIME for vendored archive_parse_date from libarchive 3.8.8+

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !12398
2026-08-12 11:38:33 -04:00
Brad King f723293c7f Merge topic 'print_all_properties'
048ee670f2 cmake_print_properties: Deprecate in favor of cmake_language(PRINT_PROPERTIES)
2a2012e913 cmake_language: Add PRINT_PROPERTIES operation
4eedd0fdb9 TargetPropertyComputer: Refactor out LOCATION checks
f81da1043d TargetPropertyComputer: Remove redundant error check
72ae7352d5 get_property: Refactor logic to shared function

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !11834
2026-08-12 11:31:34 -04:00
Kitware Robot 96f5256cec CMake Nightly Date Stamp 2026-08-12 00:05:03 -04:00
huangqinjin 68491cedcf clang-cl: Fix C++ module scanning when cross-compiling from Linux
Follow up commit ed48feeae8 (clang-cl: Add support for C++ modules,
2026-03-27, v4.4.0-rc1~428^2).  Prevent clang-cl from interpreting
absolute source paths as flags.

Fixes: #28036
2026-08-11 13:03:30 -04:00
Brad King e420259ecc libarchive: Restore compilation of archive_parse_date within CMakeLib 2026-08-11 12:13:33 -04:00
Brad King 5b530ba347 libarchive: Set build options the way we need for CMake 2026-08-11 12:13:27 -04:00
Brad King dbcd6402c3 Utilities: Update hard-coded try_compile results for libarchive 3.8.9 2026-08-11 12:13:22 -04:00
Brad King 357710687f Merge branch 'upstream-LibArchive' into update-libarchive
* upstream-LibArchive:
  LibArchive 2026-07-28 (27cbc782)
2026-08-11 12:13:05 -04:00