Brad King
fbe6d9ed2e
Merge topic 'compile-pdb-output-directory-manual-genex'
...
b66dbdb6f1 Help: Document COMPILE_PDB_OUTPUT_DIRECTORY genex support
6080449551 Help: Document when PDB_OUTPUT_DIRECTORY gained genex support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10430
2025-03-07 12:17:05 -05:00
Giacomo Rombaut
b66dbdb6f1
Help: Document COMPILE_PDB_OUTPUT_DIRECTORY genex support
...
The change in commit 79ca546ed2 (Add generator expression support to
PDB_OUTPUT_DIRECTORY target property, 2018-05-17, v3.12.0-rc1~65^2)
added genex support for `COMPILE_PDB_OUTPUT_DIRECTORY` too, but it
was not documented.
Fixes : #26745
2025-03-06 08:16:40 -05:00
Brad King
6080449551
Help: Document when PDB_OUTPUT_DIRECTORY gained genex support
2025-03-06 08:14:41 -05:00
Brad King
de7168c097
Merge topic 'remove-kfreebsd'
...
99c8abed55 kFreeBSD: Remove support for obsolete platform
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10410
2025-03-06 07:57:22 -05:00
Roger Leigh
99c8abed55
kFreeBSD: Remove support for obsolete platform
...
kFreeBSD is no longer maintained or supported and was never an
officially-supported release architecture for Debian.
Closes : #26742
2025-03-05 11:57:49 -05:00
Marc Chevrier
5c1521c54d
FindPython: enforce artifacts consistency when cross-compiling
...
Fixes : #26696
2025-03-05 17:11:56 +01:00
Brad King
3524abf345
Merge topic 'build-database-fixes'
...
12d73c9f78 cmExperimental: recycle build database uuid
d02ca76184 cmDyndepCollation: record required modules to the build database
8a773168fd Tests/CXXModules: help diagnose build database errors
7ca4ac8e13 cmBuildDatabase: fix language comparison for visibility
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10414
2025-03-05 08:32:50 -05:00
Brad King
0af6821799
Merge topic 'cpack-rpm-weak-deps-tags'
...
14baa13ab8 CPack/RPM: Add support for all weak dependency tags
847f515934 Tests: Simplify RunCMake.CPack_RPM.SUGGESTS expected output
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10415
2025-03-04 08:47:25 -05:00
Brad King
f8b284cb3e
Merge topic 'fix-cps-component-documentation'
...
b8d4c58e6c Merge branch 'backport-fix-cps-component-documentation' into fix-cps-component-documentation
76e11bd4ea Help: Fix find_package documentation about CPS and COMPONENTS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10405
2025-03-04 08:45:07 -05:00
Ben Boeckel
12d73c9f78
cmExperimental: recycle build database uuid
2025-03-03 22:03:27 +01:00
Matthew Woehlke
b8d4c58e6c
Merge branch 'backport-fix-cps-component-documentation' into fix-cps-component-documentation
...
* backport-fix-cps-component-documentation:
Help: Fix find_package documentation about CPS and COMPONENTS
2025-03-03 11:49:46 -05:00
Kitware Robot
1772622772
LICENSE: Replace references to Copyright.txt with LICENSE.rst
...
```
git grep -lz 'Copyright.txt or https://cmake.org/licensing ' |
while IFS= read -r -d $'\0' f ; do
sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / {
s/Copyright.txt/LICENSE.rst/
}' "$f" ; done
```
2025-03-03 10:43:35 -05:00
Balazs Kosaras
14baa13ab8
CPack/RPM: Add support for all weak dependency tags
...
Co-authored-by: Brad King <brad.king@kitware.com >
2025-03-03 09:09:15 -05:00
Brad King
d1812031a8
Merge topic 'Help-CMAKE_LANG_LINK_MODE-clarify_usage'
...
b0d0a8d54f Help: CMAKE_LANG_LINK_MODE: clarify usage.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10411
2025-03-03 08:57:49 -05:00
Marc Chevrier
b0d0a8d54f
Help: CMAKE_LANG_LINK_MODE: clarify usage.
2025-03-02 13:57:30 +01:00
Peter Kokot
d9de3fe322
cmake_host_system_information: Extend fallback script example
...
This fixes some typos and extends example how to use the
CMAKE_GET_OS_RELEASE_FALLBACK_SCRIPTS list variable.
2025-02-28 23:22:24 +01:00
Matthew Woehlke
76e11bd4ea
Help: Fix find_package documentation about CPS and COMPONENTS
...
The recent addition of component handling for CPS neglected to update
the documentation of how find_package handles component requests when
importing from CPS. Make those changes now.
2025-02-28 17:00:00 -05:00
Brad King
31d7ae793a
Merge topic 'cpack-rpm-docs'
...
7ae85338ca CPack/RPM: Normalize documentation wording about quoting requirements
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10402
2025-02-28 16:21:32 -05:00
Brad King
62321f299c
Merge topic 'cpack-rpm-docs' into release-4.0
...
7ae85338ca CPack/RPM: Normalize documentation wording about quoting requirements
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10402
2025-02-28 16:21:31 -05:00
Balazs Kosaras
7ae85338ca
CPack/RPM: Normalize documentation wording about quoting requirements
...
The phrase "requires string" refers to the RPM `Requires` tag, but it
had been copied from the description of `CPACK_RPM_PACKAGE_REQUIRES`
without adjusting the text.
2025-02-28 12:06:39 -05:00
Brad King
75da788360
Merge topic 'find-package-required'
...
857a039d66 find_*: Add variable to default calls to REQUIRED
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10364
2025-02-28 11:15:23 -05:00
Brad King
7f850fba3c
Merge topic 'rel-sunos'
...
5dd973f900 ci: Convert sunos packaging jobs to build sunos-{x86_64,sparc64} binaries
fd1907e50e Utilities/Release: Convert base images to build sunos-{x86_64,sparc64}
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10401
2025-02-28 11:09:49 -05:00
Brad King
5dd973f900
ci: Convert sunos packaging jobs to build sunos-{x86_64,sparc64} binaries
2025-02-27 16:35:09 -05:00
Martin Duffy
857a039d66
find_*: Add variable to default calls to REQUIRED
...
This adds a `CMAKE_FIND_REQUIRED` variable which causes `find_package`,
`find_path`, `find_file`, `find_library` and `find_program` to be
considered `REQUIRED` by default.
It also introduces an `OPTIONAL` keyword to those commands, allowing
them to ignore the value of this variable.
Issue: #26576
2025-02-27 10:51:07 -05:00
Brad King
11821a386d
Merge topic 'nvpl'
...
9ead7c2129 FindBLAS: Add support for NVPL
dbbfec8712 Tests/Find{BLAS,LAPACK}: Comment purpose of integer size fallback
6ce494ed6d ci: Add NVPL to Debian aarch64 base image
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10374
2025-02-27 09:36:03 -05:00
Vito Gamberini
9ead7c2129
FindBLAS: Add support for NVPL
2025-02-26 13:29:03 -05:00
Matthew Woehlke
c8ccd5a9e3
export: Add build-tree CPS support
...
Add Common Package Specification support to export(EXPORT).
2025-02-25 15:42:23 -05:00
Brad King
40ed8752ef
Merge topic 'genex-transitive-link-libraries'
...
b3da9c6d60 GenEx: Evaluate LINK_LIBRARIES target properties transitively
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10391
2025-02-25 10:08:14 -05:00
Brad King
b1c592acc8
Merge topic 'add-dependency-one-arg'
...
609c949061 add_dependencies: Allow calling with no dependencies
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10372
2025-02-25 10:05:19 -05:00
Brad King
40bc9bfdac
Merge topic 'find_package-sort-direction'
...
0e2b87244c find_package: Fix CMAKE_FIND_PACKAGE_SORT_DIRECTION documented default
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10390
2025-02-25 09:53:37 -05:00
Brad King
4af0f637c4
Merge topic 'instrumentation-quote-command'
...
4e7b37cad3 instrumentation: Quote command arguments to preserve separation
99cd4d979b CTest: Fix startTime in test snippets when using instrumentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10386
2025-02-25 09:38:52 -05:00
Hongxu Xu
0e2b87244c
find_package: Fix CMAKE_FIND_PACKAGE_SORT_DIRECTION documented default
...
Previously the documentation said the default was `DEC`,
but the implementation has always defaulted to `ASC`.
Fixes : #22728
2025-02-24 15:03:34 -05:00
Martin Duffy
609c949061
add_dependencies: Allow calling with no dependencies
...
Fixes : #26713
2025-02-24 13:56:31 -05:00
Martin Duffy
4e7b37cad3
instrumentation: Quote command arguments to preserve separation
...
Fixes : #26702
2025-02-24 13:11:19 -05:00
Brad King
b3da9c6d60
GenEx: Evaluate LINK_LIBRARIES target properties transitively
...
The `LINK_LIBRARIES` and `INTERFACE_LINK_LIBRARIES` target properties
establish the graph of link dependencies used to propagate usage
requirements transitively. Therefore the `$<TARGET_PROPERTY:...>`
generator expression should evaluate them transitively as it does for
other transitive properties. Add policy CMP0189 for compatibility.
Fixes : #26709
Issue: #12435
2025-02-24 11:43:47 -05:00
Brad King
1113623d25
Merge branch 'release-3.31'
2025-02-24 11:20:39 -05:00
Brad King
12e76f1e26
Merge branch 'release-3.31' into release-4.0
2025-02-24 11:20:20 -05:00
Brad King
859ca5c4d7
CMake 3.31.6
2025-02-24 10:53:17 -05:00
Brad King
806fe88cb6
Merge branch 'release-3.30'
2025-02-24 10:44:32 -05:00
Brad King
db1478d145
Merge branch 'release-3.31' into release-4.0
2025-02-24 10:44:06 -05:00
Brad King
1e2e9ceccf
Merge branch 'release-3.30' into release-3.31
2025-02-24 10:43:52 -05:00
Brad King
2bd6fbe1b0
CMake 3.30.8
2025-02-24 10:09:52 -05:00
Brad King
f0140a6e72
Merge topic 'policy-version-env'
...
33856b1d62 Add CMAKE_POLICY_VERSION_MINIMUM environment variable
04721acc6c Tests: Cover CMAKE_POLICY_VERSION_MINIMUM in initial cache script
729470ff6d Tests: Cover CMAKE_POLICY_VERSION_MINIMUM in script mode
6cd10ffed7 Tests: Cover CMAKE_POLICY_VERSION_MINIMUM as cache entry
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: John Parent <john.parent@kitware.com >
Merge-request: !10376
2025-02-21 09:13:01 -05:00
Brad King
1d606df7cc
Merge topic 'policy-version-env' into release-4.0
...
33856b1d62 Add CMAKE_POLICY_VERSION_MINIMUM environment variable
04721acc6c Tests: Cover CMAKE_POLICY_VERSION_MINIMUM in initial cache script
729470ff6d Tests: Cover CMAKE_POLICY_VERSION_MINIMUM in script mode
6cd10ffed7 Tests: Cover CMAKE_POLICY_VERSION_MINIMUM as cache entry
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: John Parent <john.parent@kitware.com >
Merge-request: !10376
2025-02-21 09:12:59 -05:00
Brad King
4701678fa1
Merge topic 'doc-add_dependencies'
...
77a742b088 Help: add_dependencies requires at least two arguments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10370
2025-02-21 09:06:48 -05:00
Brad King
33856b1d62
Add CMAKE_POLICY_VERSION_MINIMUM environment variable
...
Extend commit 1a35351125 (Add CMAKE_POLICY_VERSION_MINIMUM to help
configure outdated projects, 2025-02-13, v4.0.0-rc1~12^2) with an
environment variable to initialize the cache entry. That will make it
easier to use when `cmake` is invoked under layers of scripting.
Closes : #26715
2025-02-20 16:55:53 -05:00
Brad King
77a742b088
Help: add_dependencies requires at least two arguments
...
Update the documentation to match the implementation.
2025-02-20 08:25:58 -05:00
Nikita Nemkin
9955a3bb73
Help: Clarify EXCLUDE_FROM_DEFAULT_BUILD behavior
...
Note that solution build configurations ignore dependencies, unlike
the ALL_BUILD target.
Fixes : #12379
2025-02-19 21:07:51 +05:00
Nikita Nemkin
8fa9858e20
Help: Improve VS_SETTINGS and VS_TOOL_OVERRIDE documentation
...
Reorder paragraphs, adjust version notes, add cross-references,
note the ability to exclude files from the build.
Fixes : #11902
2025-02-19 21:07:03 +05:00
Brad King
d2cda92936
Merge topic 'remove-FindGCCXML'
...
2123244746 FindGCCXML: Add policy to remove this module
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10359
2025-02-18 09:51:32 -05:00