Commit Graph

72382 Commits

Author SHA1 Message Date
Brad King 9126ed5162 Merge topic 'fix_dev_docs_typo'
2b5fcf1d07 Help/dev: Fix typo in Source Code Guide

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11282
2025-10-06 10:40:08 -04:00
Alex Overchenko 2b5fcf1d07 Help/dev: Fix typo in Source Code Guide 2025-10-06 10:20:03 -04:00
Brad King 55c6b79da6 Merge topic 'tutorial-fix-typos'
c8adfdb0a8 Tutorial: Fix typos and mislabeled code blocks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11281
2025-10-06 09:10:37 -04:00
Brad King 4ac0912c24 Merge topic 'ci-bullseye'
8f166fa51e ci: Add jobs to perform coverage with BullseyeCoverage on Linux
cb3d917289 ci: Add script to install BullseyeCoverage in Linux jobs
2548b6e24d ci: add pre-test step
8d0ecda821 ci: add pre-build step after configure but before build
206b831973 ci: rename pre-build step to pre-configure since that is when it runs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !11283
2025-10-06 08:44:36 -04:00
Kitware Robot f2afbff2c4 CMake Nightly Date Stamp 2025-10-06 00:04:37 -04:00
Brad King 8f166fa51e ci: Add jobs to perform coverage with BullseyeCoverage on Linux 2025-10-05 07:04:03 -04:00
Brad King cb3d917289 ci: Add script to install BullseyeCoverage in Linux jobs 2025-10-05 07:03:49 -04:00
Kitware Robot d212c84bf9 CMake Nightly Date Stamp 2025-10-05 00:04:42 -04:00
Kitware Robot 73fa6ab3e6 CMake Nightly Date Stamp 2025-10-04 00:04:52 -04:00
Brad King 2548b6e24d ci: add pre-test step 2025-10-03 18:33:39 -04:00
Brad King 8d0ecda821 ci: add pre-build step after configure but before build 2025-10-03 18:17:15 -04:00
Brad King 206b831973 ci: rename pre-build step to pre-configure since that is when it runs 2025-10-03 18:17:14 -04:00
Vito Gamberini c8adfdb0a8 Tutorial: Fix typos and mislabeled code blocks 2025-10-03 18:01:06 -04:00
Brad King 0d01bc72b8 Merge topic 'cps-symbolic-info'
62a1d3e7f1 FileAPI: Add symbolic property to targets
d92b6c3e20 CPS: Add Symbolic Components
03284e018f Help: Simplify file-api version information for "abstract" field

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11132
2025-10-03 11:24:50 -04:00
Brad King caf01b88bc Merge topic 'instrumentation-target-content'
97adbc91fa instrumentation: Move target data into content files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11251
2025-10-03 11:21:17 -04:00
Brad King c6709dbf94 Merge topic 'patch-FindCxxTest-found-variable'
fdadbe42fe FindCxxTest: Add CxxTest_FOUND variable and update docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11278
2025-10-03 11:19:52 -04:00
Brad King 75c9a28459 Merge topic 'tutorial-fileset-fix'
07518509db Tutorial: Fix example FILE_SET names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11279
2025-10-03 11:18:39 -04:00
Brad King bb8b1c7ecf Merge branch 'release-4.1' 2025-10-03 11:14:16 -04:00
Brad King c878321a40 Merge branch 'release-4.0' 2025-10-03 11:14:11 -04:00
Brad King a2f4f74ed3 Merge branch 'release-4.0' into release-4.1 2025-10-03 11:13:58 -04:00
Brad King 8f4e795879 Merge branch 'release-4.1' 2025-10-03 11:12:08 -04:00
Brad King e9beb26909 Merge topic 'pkg-root-var'
1a16e4fc69 Merge branch 'backport-pkg-root-var' into pkg-root-var
87a661a916 find_package: Fix regression on `<PackageName>_ROOT` relative to CWD
fc059e1978 Merge branch 'backport-pkg-root-var' into pkg-root-var
ab0a44a0a0 find_package: Fix regression on `<PackageName>_ROOT` relative to CWD
d029b828b2 find_package: Avoid repeating search for lower-case .cps file
fc4d238d7a Tests: Match RunCMake.find_package-CPS version candidates more precisely

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11277
2025-10-03 11:12:07 -04:00
Brad King 9cd9d787ea Merge topic 'pkg-root-var' into release-4.1
1a16e4fc69 Merge branch 'backport-pkg-root-var' into pkg-root-var
87a661a916 find_package: Fix regression on `<PackageName>_ROOT` relative to CWD
fc059e1978 Merge branch 'backport-pkg-root-var' into pkg-root-var
ab0a44a0a0 find_package: Fix regression on `<PackageName>_ROOT` relative to CWD
d029b828b2 find_package: Avoid repeating search for lower-case .cps file
fc4d238d7a Tests: Match RunCMake.find_package-CPS version candidates more precisely

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11277
2025-10-03 11:12:06 -04:00
Brad King 9355a194ca Merge topic 'backport-pkg-root-var' into release-4.0
ab0a44a0a0 find_package: Fix regression on `<PackageName>_ROOT` relative to CWD
d029b828b2 find_package: Avoid repeating search for lower-case .cps file
fc4d238d7a Tests: Match RunCMake.find_package-CPS version candidates more precisely

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11277
2025-10-03 11:10:18 -04:00
Kitware Robot 279729b85a CMake Nightly Date Stamp 2025-10-03 00:04:57 -04:00
Vito Gamberini 07518509db Tutorial: Fix example FILE_SET names
FILE_SET names begin with lowercase letters, the examples use uppercase

Fixes #27282
2025-10-02 19:00:43 -04:00
Peter Kokot fdadbe42fe FindCxxTest: Add CxxTest_FOUND variable and update docs
- This module previously didn't define the CxxTest_FOUND result variable
  consistently if neither Python nor Perl were found.
- Documentation is also updated a bit further to note that Perl-based
  test generator script has been removed in CxxTest version 4.0.
- Internal comments synced.
- Python_FOUND result variable used.

Issue: #27242
2025-10-02 22:31:41 +02:00
Brad King 1a16e4fc69 Merge branch 'backport-pkg-root-var' into pkg-root-var
Use the `-s ours` strategy because we already made equivalent changes.
2025-10-02 15:31:06 -04:00
Robert Maynard 87a661a916 find_package: Fix regression on <PackageName>_ROOT relative to CWD
In commit 9d44a77454 (find_*: Explicitly normalize found paths as they
exist on disk, 2024-10-17, v4.0.0-rc1~597^2~1), we removed path
normalization from the internal `cmSearchPath::AddPathInternal` helper.
Most call sites were updated to normalize input paths first, but search
paths derived from `<PackageName>_ROOT` CMake variables are no longer
normalized.  Instead we normalize the path to the file found after
searching.

When `find_package` "config" mode considers a candidate CMake package
configuration file, normalize its path before loading the adjacent
package version file so that the latter is loaded by absolute path.
Otherwise `cmMakefile::ReadDependentFile` interprets a relative path
with respect to the current source directory rather than the current
working directory.

Fixes: #27279
2025-10-02 15:30:13 -04:00
Brad King fc059e1978 Merge branch 'backport-pkg-root-var' into pkg-root-var 2025-10-02 15:28:03 -04:00
Robert Maynard ab0a44a0a0 find_package: Fix regression on <PackageName>_ROOT relative to CWD
In commit 9d44a77454 (find_*: Explicitly normalize found paths as they
exist on disk, 2024-10-17, v4.0.0-rc1~597^2~1), we removed path
normalization from the internal `cmSearchPath::AddPathInternal` helper.
Most call sites were updated to normalize input paths first, but search
paths derived from `<PackageName>_ROOT` CMake variables are no longer
normalized.  Instead we normalize the path to the file found after
searching.

When `find_package` "config" mode considers a candidate CMake package
configuration file, normalize its path before loading the adjacent
package version file so that the latter is loaded by absolute path.
Otherwise `cmMakefile::ReadDependentFile` interprets a relative path
with respect to the current source directory rather than the current
working directory.

Fixes: #27279
2025-10-02 15:24:47 -04:00
Brad King d029b828b2 find_package: Avoid repeating search for lower-case .cps file 2025-10-02 15:24:47 -04:00
Brad King fc4d238d7a Tests: Match RunCMake.find_package-CPS version candidates more precisely
Since commit 3e6466eb16 (find_package: Honor version requests when
finding CPS packages, 2025-02-12, v4.0.0-rc1~16^2) the test has relied
on `.*` to absorb capitalized paths on case-insensitive filesystems.
Match them explicitly.
2025-10-02 15:24:12 -04:00
Brad King 00ad284e20 Merge branch 'release-4.1' 2025-10-02 13:57:27 -04:00
Brad King f0f1a0860a Merge branch 'release-4.0' 2025-10-02 13:57:21 -04:00
Brad King 9cab1062e4 Merge branch 'release-4.0' into release-4.1 2025-10-02 13:57:11 -04:00
Brad King f0376a7640 Merge branch 'release-4.1' 2025-10-02 13:56:28 -04:00
Brad King 490b6fe1f2 Merge topic 'build-graph-opt-docs'
fac5e622b7 Help/OPTIMIZE_DEPENDENCIES: xref with CMP0154 documentation
03f5ffa2ca Help/OPTIMIZE_DEPENDENCIES: move period outside of parenthetical

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11275
2025-10-02 13:56:27 -04:00
Brad King 9f7179793b Merge topic 'build-graph-opt-docs' into release-4.1
fac5e622b7 Help/OPTIMIZE_DEPENDENCIES: xref with CMP0154 documentation
03f5ffa2ca Help/OPTIMIZE_DEPENDENCIES: move period outside of parenthetical

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11275
2025-10-02 13:56:25 -04:00
Brad King 375307f4d7 Merge topic 'build-graph-opt-docs' into release-4.0
fac5e622b7 Help/OPTIMIZE_DEPENDENCIES: xref with CMP0154 documentation
03f5ffa2ca Help/OPTIMIZE_DEPENDENCIES: move period outside of parenthetical

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11275
2025-10-02 13:55:34 -04:00
Brad King 0e0a304f41 Merge topic 'patch-FindOpenAL-version'
4df39cf269 FindOpenAL: Remove OPENAL_VERSION_STRING
ea2b9c6c01 FindOpenAL: Re-order deprecated variables section

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11273
2025-10-02 13:53:53 -04:00
Brad King 0599d7e606 Merge topic 'doc-polish'
6babe38916 Help: Fix cmake_language(TRACE) command anchor
7aa81ae324 Help: Simplify release notes for find module version variables
09aded59f7 Help: Revise CMP0201 documentation using typical wording conventions
f98b4eecf6 Help: Document generators supporting CMAKE_INTERMEDIATE_DIR_STRATEGY
fe9fd66a8e Help: Improve CPack/WiX documentation markup

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11276
2025-10-02 13:52:22 -04:00
Brad King 731ba7cf39 Merge topic 'doc-interface-libraries'
e3a1a688ea Help: Clarify property names allowed on interface libraries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11274
2025-10-02 13:50:32 -04:00
Taylor Sasser 62a1d3e7f1 FileAPI: Add symbolic property to targets 2025-10-02 10:46:16 -04:00
Taylor Sasser d92b6c3e20 CPS: Add Symbolic Components
Adds support for "symbolic" components, which represent feature-level
capabilities of a package that do not correspond to actual build targets.
These are modeled as pseudo-targets, using the INTERFACE type as a base,
and can be queried via:

  get_target_property(... <tgt> "SYMBOLIC")

This enables consumers to declare requirements on optional features
(e.g., SSL support) even when they do not map to concrete targets.

Fixes: #27187
2025-10-02 10:46:02 -04:00
Martin Duffy 97adbc91fa instrumentation: Move target data into content files
Create a single place to store target data to prevent duplication.
This moves `targetType` and `targetLabels` out of the snippet files
and into a target map in the `cmakeContent` file referenced by each
snippet.

Fixes: #27244
2025-10-02 09:28:20 -04:00
Kitware Robot 6ebaac438a CMake Nightly Date Stamp 2025-10-02 00:05:13 -04:00
Peter Kokot 4df39cf269 FindOpenAL: Remove OPENAL_VERSION_STRING
This result variable wasn't set by this module, yet it was documented.

Issue: #27088
2025-10-01 19:39:27 +02:00
Peter Kokot ea2b9c6c01 FindOpenAL: Re-order deprecated variables section 2025-10-01 19:38:32 +02:00
Brad King ceecafd7d5 Merge topic 'ci-gcov'
f7b0ddbe92 gitlab-ci: add a series of jobs to perform coverage
cedd32892e ci: support setting a different test timeout for CI
da4a1ec2ff gitlab-ci: add support for running gcov-based coverage
61aed5e5f2 CTestCustom: ignore coverage results from coverage tests
7191d72acd Tests/EnforceConfig: clear the `CMAKE_BUILD_TYPE` environment variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11245
2025-10-01 11:39:29 -04:00