78225 Commits
Author SHA1 Message Date
Brad King a10e447612 Merge topic 'FindOpenGL-glu-libopengl'
8b9fe212a2 FindOpenGL: Add support for libOpenGL to OpenGL::GLU imported target

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12774
2026-11-05 09:41:50 -05:00
Brad King 1c051ccd89 Merge topic 'FindOpenGL-change-components'
8f97771b1c FindOpenGL: unset OPENGL_USE_<C> variables on exit

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12768
2026-11-05 09:40:42 -05:00
Brad King 17c5245e82 Merge topic 'update-kwsys'
9f8a677a3d Merge branch 'upstream-KWSys' into update-kwsys
2a94d6e33f KWSys 2026-11-05 (3f6dbdae)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12777
2026-11-05 09:39:37 -05:00
Brad King ad061d3b07 Merge topic 'install-better-error'
50c29eae35 cmake --install: Check that install scripts exist before running
3ed425fca5 cmListFileCache: Do not mention internal class name in allocation error
fe6b359067 cmake: Clarify errors when a script cannot be read

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !12772
2026-11-05 09:37:27 -05:00
Brad King 3550465056 Merge topic 'doc-CTEST_SCRIPT_NAME'
683ab4376b Help/ctest: Document CTEST_SCRIPT_NAME

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !12770
2026-11-05 09:34:55 -05:00
Brad King 3e889cf02a Merge topic 'custom_rule-enhance-patterns-management'
1259cd4fc8 Custom rule: enhance patterns management

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12767
2026-11-05 09:32:47 -05:00
Brad King dafc5ed2f3 Merge topic 'instrumentation-disable'
98b7759c35 instrumentation: Add environment variable to disable collection and indexing

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12740
2026-11-05 09:31:24 -05:00
Brad King 9f8a677a3d Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2026-11-05 (3f6dbdae)
2026-11-05 09:27:36 -05:00
KWSys Upstream 2a94d6e33f KWSys 2026-11-05 (3f6dbdae)
Code extracted from:

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

at commit 3f6dbdae567f1cfb6a459359825677d106db6362 (master).

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

Aymeric Wibo (2):
      10b37500 SystemInformation: Fix reading hw.physmem on FreeBSD & DragonFly
      642ccce9 SystemInformation: Implement getting available memory on FreeBSD
2026-11-05 09:27:35 -05:00
Kitware Robot a158b68fa6 CMake Nightly Date Stamp 2026-11-05 00:06:58 -05:00
Chris Mayo 8b9fe212a2 FindOpenGL: Add support for libOpenGL to OpenGL::GLU imported target
glu can use libglvnd as a GL provider
https://gitlab.freedesktop.org/mesa/glu/-/blob/master/meson_options.txt

Fixes: #28235
2026-11-04 19:32:09 +00:00
Chris Mayo 8f97771b1c FindOpenGL: unset OPENGL_USE_<C> variables on exit
If the OpenGL find module is called twice in a project, first with a
component <C> then the second time without, the second call will use the
value of the OPENGL_USE_<C> variable from the first call.

This has been seen to cause incorrect results in a project using Qt where the
first call is part of the project's own logic and the second call happens within
a call to Qt 6.12.0's Qt6 find module.

Fixes: #28246
2026-11-04 19:28:56 +00:00
Tyler Yankee 50c29eae35 cmake --install: Check that install scripts exist before running
Previously a missing `cmake_install.cmake` was reported only as a
generic script processing error. Instead, report the missing script
path up front. This also avoids a partial installation when a
subdirectory's script is missing in a parallel install.
2026-11-04 10:51:25 -05:00
Tyler Yankee 3ed425fca5 cmListFileCache: Do not mention internal class name in allocation error 2026-11-04 10:51:06 -05:00
Tyler Yankee fe6b359067 cmake: Clarify errors when a script cannot be read
Report the path and reason when a file cannot be opened. Particularly,
when under `cmake -P` there is no backtrace to identify the file,
leaving very opaque error messages.

Also avoid reporting a second generic error when we've already reported
that the file does not exist. For cases where the generic error is hit,
reword it for clarity.
2026-11-04 09:57:27 -05:00
Brad King 86eb72f5d6 Merge branch 'release-4.5' 2026-11-04 09:49:40 -05:00
Tyler Yankee 683ab4376b Help/ctest: Document CTEST_SCRIPT_NAME
This variable has existed for a long time without documentation. While
we're here, add details to the CTEST_SCRIPT_DIRECTORY doc.
2026-11-04 09:16:50 -05:00
Brad King d76510390b CMake 4.5.0-rc3 v4.5.0-rc3 2026-11-04 09:15:40 -05:00
Brad King 9018d8259b Merge topic 'ctest-args-consolidate'
3e8ef24c63 ctest: Simplify command line argument handlers
62f2e49c7e ctest: Factor out command line argument table lookup
42ab537fb1 ctest: Improve wrapping of option help

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12766
2026-11-04 09:01:18 -05:00
Brad King 620ef9e921 Merge topic 'SKIP_INSTALL_RPATH_target_property'
0a9fcf679e RPATH: Add SKIP_INSTALL_RPATH target property
2d4a6a6fbd RPATH: Docs use inline code markup for RPATH

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12722
2026-11-04 08:52:16 -05:00
Brad King 88123121dd Merge branch 'release-4.5' 2026-11-04 08:49:25 -05:00
Brad King b992871e07 Merge branch 'release-4.4' 2026-11-04 08:49:20 -05:00
Brad King 6e8979bae3 Merge branch 'release-4.3' 2026-11-04 08:49:14 -05:00
Brad King 0ec9863aaf Merge branch 'release-4.4' into release-4.5 2026-11-04 08:49:06 -05:00
Brad King 52b16e19dc Merge branch 'release-4.5' 2026-11-04 08:48:19 -05:00
Brad King f81737ed32 Merge topic 'ctest-U-no-arg'
b150e8757c ctest: Restore handling of -U and --union with no value

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12765
2026-11-04 08:48:19 -05:00
Brad King 44de8c0a22 Merge topic 'ctest-U-no-arg' into release-4.5
b150e8757c ctest: Restore handling of -U and --union with no value

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12765
2026-11-04 08:48:17 -05:00
Brad King 4b3cbac39b Merge branch 'release-4.3' into release-4.4 2026-11-04 08:47:46 -05:00
Brad King 8820c656cb Merge topic 'ctest-U-no-arg' into release-4.4
b150e8757c ctest: Restore handling of -U and --union with no value

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12765
2026-11-04 08:47:38 -05:00
Brad King 4e2589cfd7 Merge topic 'ctest-U-no-arg' into release-4.3
b150e8757c ctest: Restore handling of -U and --union with no value

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12765
2026-11-04 08:47:04 -05:00
Kitware Robot 7c7982f477 CMake Nightly Date Stamp 2026-11-04 00:06:03 -05:00
Martin Duffy 98b7759c35 instrumentation: Add environment variable to disable collection and indexing
Fixes: #28179
2026-11-03 15:33:44 -05:00
Marc Chevrier 1259cd4fc8 Custom rule: enhance patterns management 2026-11-03 19:28:06 +01:00
Ralf Habacker b150e8757c ctest: Restore handling of -U and --union with no value
Refactoring in commit c0c4d48ba2 (cmCTest: Use cmCommandLineArgument
command-line parsing infrastructure, 2024-10-12, v4.0.0-rc1~646^2)
accidentally made `-U` and `--union` require an argument, but the
documentation states that no argument is required.

Closes: #28243
2026-11-03 10:42:40 -05:00
Brad King ba258369af Merge branch 'release-4.5' 2026-11-03 10:16:15 -05:00
Brad King 7887ae931b Merge topic 'FindDoxygen-terminal-and-stamp'
6c4a0d284e FindDoxygen: Makes USES_TERMINAL compatible with USE_STAMP_FILE

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12754
2026-11-03 10:16:15 -05:00
Brad King 934db8d3e6 Merge topic 'FindDoxygen-terminal-and-stamp' into release-4.5
6c4a0d284e FindDoxygen: Makes USES_TERMINAL compatible with USE_STAMP_FILE

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12754
2026-11-03 10:16:13 -05:00
Robert Maynard 0a9fcf679e RPATH: Add SKIP_INSTALL_RPATH target property
Re-implement the CMAKE_SKIP_INSTALL_RPATH variable in terms of the
property, with a policy for compatibility.

Fixes: #28213
2026-11-03 10:14:20 -05:00
Robert Maynard 2d4a6a6fbd RPATH: Docs use inline code markup for RPATH 2026-11-03 09:52:46 -05:00
Brad King defb221446 Merge topic 'listfile-coverage'
d4d35ecdc0 cmLcovTracefile: Use an enum for the lcov record types
54dc4d7bcc cpack: Record CMake listfile coverage
d602bd63b0 ctest_coverage: Read CMake listfile coverage
c11d1ee751 ctest: Add CMAKE coverage tool for CMake listfile coverage
37b38a29b6 cmake: Add CMAKE_LISTFILE_COVERAGE_DIR to record listfile coverage

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !12678
2026-11-03 09:39:55 -05:00
Brad King 76d4b1fa80 Merge topic 'cps-warn'
dc0e837c54 CPS: Warn when CMake loads a CPS file from a non-conforming location

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12605
2026-11-03 09:32:57 -05:00
Brad King 1eed45617e Merge topic 'fileset-interface-genex-consumer'
3110f265a9 FILE_SET: Evaluate usage requirements per consumer
cafd167ba3 cmTargetPropertyEntry: Accept a file set

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12712
2026-11-03 09:31:02 -05:00
Brad King a2a25b15a7 Merge topic 'ctest-junit-utc-timestamp'
e026c11ed2 CTest: Write JUnit testsuite timestamp in UTC

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !12751
2026-11-03 09:29:14 -05:00
Brad King 07535761ea Merge topic 'subcommand-did-you-mean'
859a40b291 cmSubcommandTable: Implement closest string for invalid subcommand

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12752
2026-11-03 09:26:00 -05:00
Brad King 4e789da92d Merge topic 'presets-did-you-mean'
ba61d59840 presets: Implement closest string for invalid preset
2603725ccc presets: Extend ResolvePreset to workflow presets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12753
2026-11-03 09:24:06 -05:00
Tyler Yankee 3e8ef24c63 ctest: Simplify command line argument handlers
Replace the individual lambdas that only assign or append their value
to a field with small helpers.
2026-11-03 09:23:45 -05:00
Tyler Yankee 62f2e49c7e ctest: Factor out command line argument table lookup
The preset pre-pass and the main argument loop both searched an
argument table for a match and parsed it. Share that logic through
a local helper.
2026-11-03 09:23:44 -05:00
Tyler Yankee 42ab537fb1 ctest: Improve wrapping of option help 2026-11-03 09:23:43 -05:00
Brad King da2499b057 Merge topic 'genex-link-group-extra'
f217446772 Genex: Fix crash on strings concatenated on LINK_GROUP

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12760
2026-11-03 09:22:03 -05:00
Brad King eb1e97c362 Merge topic 'genex-out-of-range'
25abbc4ad4 Genex: Fix crash on out of range LIST index

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12759
2026-11-03 09:20:03 -05:00