Brad King
ee515b2aa8
CMake 4.0.1
2025-04-10 10:58:22 -04:00
Brad King
c69add958a
Help: Add note about /usr/local/include on macOS without CMAKE_OSX_SYSROOT
...
Issue: #19180
2025-04-10 10:16:29 -04:00
Brad King
f098dc700e
Merge branch 'release-3.31' into release-4.0
2025-04-10 09:51:27 -04:00
Brad King
7b16db932a
CMake 3.31.7
2025-04-10 09:13:20 -04:00
Brad King
2164da0ae6
Help: Document CMAKE_OSX_SYSROOT default change in 4.0
...
In commit 7b19531291 (macOS: Do not pass any SDK/-isysroot to compilers
by default, 2024-11-06, v4.0.0-rc1~511^2) we forgot to update the
documentation of `CMAKE_OSX_SYSROOT`.
Fixes : #26846
2025-04-08 11:07:17 -04:00
Brad King
f706d8064b
Help: Clarify wording of UNITY_BUILD_RELOCATABLE path alternatives
2025-03-31 19:35:30 -04:00
Brad King
20412690fb
Help: Add 4.0 release note for UNITY_BUILD_RELOCATABLE
...
This was left out of commit 84996a65aa (Unity: Add option to use
relative paths for unity files, 2024-10-15, v4.0.0-rc1~637^2).
Issue: #26352
2025-03-31 19:31:03 -04:00
Brad King
89cea1c642
Help: Document CMAKE_UNITY_BUILD_RELOCATABLE variable
...
In commit 84996a65aa (Unity: Add option to use relative paths for unity
files, 2024-10-15, v4.0.0-rc1~637^2) we added support for this variable
to initialize the `UNITY_BUILD_RELOCATABLE` target property, but forgot
to document it.
Issue: #26352
2025-03-31 19:31:00 -04:00
Craig Scott
5dff5e2f7f
Help: Fix typo in 4.0 release notes for CPack archive generator
2025-03-28 14:23:47 +11:00
Craig Scott
713968c280
Help: Improve wording of docs related to MSVC runtime checks
2025-03-28 14:23:47 +11:00
Craig Scott
316aaa6cdd
Help: Fix inaccurate wording for CMAKE_XCODE_SCHEME_... variables
2025-03-28 14:23:46 +11:00
權少
a57eec57e5
Help: Fix typo in CMAKE_PKG_CONFIG_PC_PATH docs
2025-03-26 09:11:35 -04:00
Peter Kokot
9eb91c8bd3
FindGDAL: Move to list of deprecated modules
...
The module was deprecated by commit 7e2aee4458 (FindGDAL: Document as
deprecated in favor of upstream CMake package, 2024-11-26,
v4.0.0-rc1~409^2). Move the module to the list of deprecated modules.
Issue: #26471
2025-03-24 11:01:09 -04:00
Brad King
68475b77d2
Merge topic 'pkgc-variable-docs' into release-4.0
...
8817f3b131 PkgC: Document cmake variables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10493
2025-03-20 08:54:21 -04:00
Vito Gamberini
8817f3b131
PkgC: Document cmake variables
2025-03-19 07:58:31 -04:00
Martin Duffy
39f365ec3c
instrumentation: Unique snippet file names
...
Updates the hash in snippet file naming to take the ProcessId into account
so that snippets with identical commands don't risk a collision in filename.
Additionally, this adds a `workingDir` to snippet files so that snippets with
identical commands can be more easily differentiated, such as with install
snippets.
2025-03-18 13:23:02 -04:00
Brad King
a64c571a32
Merge topic 'doc-CMAKE_CONFIG_DIR' into release-4.0
...
bbbbab4661 Help: Add 3.31 release note for CMAKE_CONFIG_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10474
2025-03-18 09:21:03 -04:00
Peter Kokot
bbbbab4661
Help: Add 3.31 release note for CMAKE_CONFIG_DIR
...
This was accidentally left out of commit 1df94443fe (fileapi: Add
support for user-wide queries, 2024-08-16, v3.31.0-rc1~177^2).
2025-03-17 11:57:15 -04:00
Matthew Woehlke
dd8bf95271
Help: Document handling of CPS transitive components
...
Add documentation explaining how CMake handles component requests of a
CPS transitive dependency.
2025-03-07 13:19:43 -05:00
Brad King
455f2249bc
Merge topic 'fix-cps-component-documentation' into release-4.0
...
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:06 -05:00
Kitware Robot
de273b2e11
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 09:56:07 -05:00
Marc Chevrier
b0d0a8d54f
Help: CMAKE_LANG_LINK_MODE: clarify usage.
2025-03-02 13:57:30 +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
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
5dd973f900
ci: Convert sunos packaging jobs to build sunos-{x86_64,sparc64} binaries
2025-02-27 16:35:09 -05:00
Martin Duffy
4e7b37cad3
instrumentation: Quote command arguments to preserve separation
...
Fixes : #26702
2025-02-24 13:11:19 -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
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
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
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
Brad King
ccfa403859
Merge topic 'instrumentation-presets-hooks' into release-4.0
...
45d3ffaa95 instrumentation: Use auto for variables holding closures
d75ccd9f8d instrumentation: Fix docs for ctest --collect-instrumentation option
a2232db802 instrumentation: Make hooks compatible with presets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10352
2025-02-18 09:49:44 -05:00
Brad King
d40e1a0682
Merge topic 'policy_max-docs' into release-4.0
...
48095c623f Help/cmake_minimum_required: clarify policy_max `versionadded` note
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10363
2025-02-18 09:43:23 -05:00
Ben Boeckel
48095c623f
Help/cmake_minimum_required: clarify policy_max versionadded note
...
While the prose clarifies this below, a quick glance at the docs can
make one believe that `...3.10` has no sensible use. However, it is
still useful to tell CMake 3.12 and up that at least 3.10 behavior is
accepted.
2025-02-18 06:20:32 +01:00
Martin Duffy
d75ccd9f8d
instrumentation: Fix docs for ctest --collect-instrumentation option
2025-02-17 11:03:28 -05:00
Brad King
b5374e0405
Help: Fix typo in 4.0 release notes
...
Reported-by: Craig Scott <craig.scott@crascit.com >
2025-02-17 10:35:20 -05:00
Brad King
4300d08b20
Merge topic 'instrumentation_cdash' into release-4.0
...
a6d4a9a2ae ctest: Include cmake instrumentation data in XML files
85a63143ed instrument: don't report target=TARGET_NAME
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10332
2025-02-16 10:58:11 -05:00
Brad King
28f1da4b25
ci: Add jobs to build sunos-{i386,sparc} binaries
2025-02-15 07:28:07 -05:00
Zack Galbreath
a6d4a9a2ae
ctest: Include cmake instrumentation data in XML files
2025-02-15 06:25:12 -05:00
Zack Galbreath
85a63143ed
instrument: don't report target=TARGET_NAME
...
Remove the erroneous default target name when instrumenting
custom commands.
2025-02-15 06:21:58 -05:00
Brad King
47689e9253
Merge topic 'policy-version-var' into release-4.0
...
1a35351125 Add CMAKE_POLICY_VERSION_MINIMUM to help configure outdated projects
d723198539 Help: De-duplicate policy version documentation
e5d29e9e00 Help: Drop cmake_minimum_required pre-2.4 behavior
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10343
2025-02-14 09:32:33 -05:00
Brad King
1a35351125
Add CMAKE_POLICY_VERSION_MINIMUM to help configure outdated projects
...
Provide packagers and end users with a way to try configuring projects that
have not been updated to set their policy version to a supported level.
Closes : #26698
2025-02-13 14:00:26 -05:00
Brad King
d723198539
Help: De-duplicate policy version documentation
2025-02-13 12:36:54 -05:00
Brad King
e5d29e9e00
Help: Drop cmake_minimum_required pre-2.4 behavior
...
The long outdated pre-2.4 compatibility behavior is no longer relevant
since CMake 4.0 dropped support for pre-3.5 compatibility.
2025-02-13 12:22:21 -05:00
Alex Neundorf
8905157694
Help: Link CMAKE_CURRENT_LIST_(DIR|FILE|LINE) to/from FUNCTION-equivalents
2025-02-13 09:46:20 -05:00
Brad King
3f2386db2b
Merge topic 'find-cps-version' into release-4.0
...
3e6466eb16 find_package: Honor version requests when finding CPS packages
7a0e698384 find_package: Fix CPS version parsing
35a7ed125b find_package: Fix reporting of rejected CPS files' version
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10297
2025-02-13 09:33:04 -05:00