Brad King
7ebad5d201
cmake-gui: Refactor installation into CMake.app/Contents on macOS
...
Instead of mutating `CMAKE_INSTALL_PREFIX`, add a `CMake.app/Contents/`
prefix to install destinations besides the `cmake-gui` target itself.
2025-10-31 09:33:52 -04:00
Brad King
a65d986850
cmake-gui: Simplify macOS bundle version logic
2025-10-31 09:33:51 -04:00
Brad King
91bb70cfcb
Source: Factor out common parts of install layout variable loop item names
2025-10-31 09:33:51 -04:00
Brad King
26f0290284
Merge topic 'GoogleTest-discovery-timeout'
...
daa7926c68 GoogleTest: Report timeout duration on discovery failure
d3cfc57f06 Tests/RunCMake/GoogleTest: Match discovery timeout message more precisely
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11374
2025-10-31 07:21:29 -04:00
Brad King
127425d644
Merge branch 'release-4.2'
2025-10-31 07:12:29 -04:00
Brad King
5524773d57
Merge topic 'ci-fedora-43'
...
2338d987d5 ci: use Fedora 43 images and environments
5219f383fe ci: update Fedora base images to Fedora 43
373e8ea652 clang-tidy: ignore warnings new in version 21
e12ce158bc clang-tidy: fix bugprone-unintended-char-ostream-output lint
2ca11db2e3 pre-commit: version bump `typos` hook plus fix found typos
d314d85ea5 Tests: Extend RunCMake.ParseImplicitLinkInfo for LLVMFlang 21.1.3
b7ad081f1a Tests: Fix RunCMake.CXXModules compilation with Clang 21
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11375
2025-10-31 07:12:29 -04:00
Brad King
e8863b5a74
Merge topic 'ci-fedora-43' into release-4.2
...
2338d987d5 ci: use Fedora 43 images and environments
5219f383fe ci: update Fedora base images to Fedora 43
373e8ea652 clang-tidy: ignore warnings new in version 21
e12ce158bc clang-tidy: fix bugprone-unintended-char-ostream-output lint
2ca11db2e3 pre-commit: version bump `typos` hook plus fix found typos
d314d85ea5 Tests: Extend RunCMake.ParseImplicitLinkInfo for LLVMFlang 21.1.3
b7ad081f1a Tests: Fix RunCMake.CXXModules compilation with Clang 21
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11375
2025-10-31 07:12:26 -04:00
Kitware Robot
f9fcb89eba
CMake Nightly Date Stamp
2025-10-31 00:04:57 -04:00
Brad King
2338d987d5
ci: use Fedora 43 images and environments
2025-10-30 17:46:06 -04:00
Brad King
5219f383fe
ci: update Fedora base images to Fedora 43
...
Also update to typos 1.38.1.
2025-10-30 17:43:17 -04:00
Brad King
373e8ea652
clang-tidy: ignore warnings new in version 21
...
These warnings can be fixed in the future. Ignore them for now.
2025-10-30 17:43:17 -04:00
Brad King
e12ce158bc
clang-tidy: fix bugprone-unintended-char-ostream-output lint
2025-10-30 17:43:17 -04:00
Alex Turbov
2ca11db2e3
pre-commit: version bump typos hook plus fix found typos
...
Backport commit 8de02a14c8 (ci(pre-commit): version bump `typos` hook
plus fix found typos, 2025-10-23) to the CMake 4.2 release branch.
2025-10-30 17:43:16 -04:00
Brad King
d314d85ea5
Tests: Extend RunCMake.ParseImplicitLinkInfo for LLVMFlang 21.1.3
2025-10-30 17:43:16 -04:00
Brad King
b7ad081f1a
Tests: Fix RunCMake.CXXModules compilation with Clang 21
...
Clang 21 now enforces placement of the module declaration:
.../scan_properties/module.cxx:7:8: error: module
declaration must occur at the start of the translation unit
2025-10-30 17:40:02 -04:00
Brad King
daa7926c68
GoogleTest: Report timeout duration on discovery failure
2025-10-30 13:00:56 -04:00
Brad King
d3cfc57f06
Tests/RunCMake/GoogleTest: Match discovery timeout message more precisely
2025-10-30 11:23:53 -04:00
Brad King
e64f53952e
Merge branch 'release-4.2'
2025-10-30 09:38:26 -04:00
Brad King
a86b6c4db4
CMake 4.2.0-rc2
v4.2.0-rc2
2025-10-30 09:03:07 -04:00
Brad King
ad166f4809
Merge topic 'export-system-includes-under-prefix'
...
b5793cf41b install(EXPORT): Fix SYSTEM include directories relative to install prefix
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11354
2025-10-30 09:00:37 -04:00
Brad King
2364f3502c
Merge branch 'release-4.2'
2025-10-30 08:58:01 -04:00
Brad King
8eb6796779
Merge topic 'fbuild_compdb'
...
5e25ee691a FASTBuild: generate compile_commands
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11373
2025-10-30 08:58:00 -04:00
Brad King
c727d96b40
Merge topic 'fbuild_compdb' into release-4.2
...
5e25ee691a FASTBuild: generate compile_commands
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11373
2025-10-30 08:57:58 -04:00
Brad King
ce9bde923f
Merge branch 'release-4.2'
2025-10-30 08:54:34 -04:00
Brad King
922fb7fd63
Merge topic 'macos-no-per-arch-sysroot'
...
1925477cb7 macOS: Do not incorrectly search for per-arch SDKs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11372
2025-10-30 08:54:34 -04:00
Brad King
28873cce5e
Merge topic 'macos-no-per-arch-sysroot' into release-4.2
...
1925477cb7 macOS: Do not incorrectly search for per-arch SDKs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11372
2025-10-30 08:54:32 -04:00
Brad King
3277f95ed5
Merge branch 'release-4.2'
2025-10-30 08:51:15 -04:00
Brad King
a53b052c6c
Merge topic 'tutorial-step-0'
...
fb58de1a56 Tutorial: Add Step 0 to prepare the working environment
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11367
2025-10-30 08:51:15 -04:00
Brad King
db190bbe49
Merge topic 'tutorial-step-0' into release-4.2
...
fb58de1a56 Tutorial: Add Step 0 to prepare the working environment
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11367
2025-10-30 08:51:12 -04:00
Brad King
75aa795c31
Merge branch 'release-4.2'
2025-10-30 08:49:07 -04:00
Brad King
5d307b1d30
Merge topic 'vs-sln'
...
6ebf21a360 VS: Restore support for Intel Fortran projects
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11371
2025-10-30 08:49:07 -04:00
Brad King
fb85cb7716
Merge topic 'vs-sln' into release-4.2
...
6ebf21a360 VS: Restore support for Intel Fortran projects
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11371
2025-10-30 08:49:05 -04:00
Kitware Robot
175321c24b
CMake Nightly Date Stamp
2025-10-30 00:07:22 -04:00
6ziv
b5793cf41b
install(EXPORT): Fix SYSTEM include directories relative to install prefix
...
Fixes : #23393
2025-10-29 16:03:02 -04:00
Eduard Voronkin
5e25ee691a
FASTBuild: generate compile_commands
...
If `CMAKE_EXPORT_COMPILE_COMMANDS` is set use FASTBuild's `-compdb`
option in order to generate `compile_commands.json` file.
Fixes : #27345
2025-10-29 15:53:07 -04:00
Brad King
1925477cb7
macOS: Do not incorrectly search for per-arch SDKs
...
Extend commit a9b41195d2 (Handle multi-arch sysroots on Apple platforms,
2019-07-26, v3.17.0-rc1~287^2) to recognize versioned macOS SDK names.
Fixes : #27340
2025-10-29 14:50:51 -04:00
Brad King
6ebf21a360
VS: Restore support for Intel Fortran projects
...
Refactoring in commit 3882718872 (VS: Decouple solution generation from
`.sln` file format, 2025-09-15, v4.2.0-rc1~154^2~3) accidentally dropped
Fortran targets from the generated VS Solution.
Fixes : #27346
2025-10-29 11:55:53 -04:00
Vito Gamberini
fb58de1a56
Tutorial: Add Step 0 to prepare the working environment
...
Adds a "Step 0" to the tutorial which discusses minutia about where to
get CMake, how to run it, and most importantly deals at length with
various generator issues which aren't covered elsewhere.
2025-10-29 09:49:23 -04:00
Brad King
4928a77d15
Merge branch 'release-4.2'
2025-10-29 09:32:58 -04:00
Brad King
dbef247c30
Merge branch 'release-4.1'
2025-10-29 09:32:38 -04:00
Brad King
d98c9bf2cc
Merge branch 'release-4.1' into release-4.2
2025-10-29 09:32:25 -04:00
Brad King
a6c4044994
Merge branch 'release-4.2'
2025-10-29 09:31:13 -04:00
Brad King
c11aa43ab8
Merge topic 'doc-cmake.org-tutorial-archive'
...
5473a45fd8 Tutorial: Restore source archive when published on cmake.org
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11370
2025-10-29 09:31:13 -04:00
Brad King
b22a77e337
Merge topic 'doc-cmake.org-tutorial-archive' into release-4.2
...
5473a45fd8 Tutorial: Restore source archive when published on cmake.org
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11370
2025-10-29 09:31:10 -04:00
Brad King
61841b7ee4
Merge topic 'doc-cmake.org-tutorial-archive' into release-4.1
...
5473a45fd8 Tutorial: Restore source archive when published on cmake.org
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11370
2025-10-29 09:29:14 -04:00
Brad King
5473a45fd8
Tutorial: Restore source archive when published on cmake.org
...
Restore commit 4cb616fed6 (Tutorial: Provide a source archive when
published on cmake.org, 2022-04-27, v3.23.2~22^2). Its effects were
accidentally reverted by commit 9784834b4c (Help: Use `*.rst` extension
for included files, 2025-04-07, v4.1.0-rc1~354^2).
Reported-by: Vito Gamberini <vito.gamberini@kitware.com>
2025-10-29 09:17:14 -04:00
Kitware Robot
80dbadbd8f
CMake Nightly Date Stamp
2025-10-29 00:04:46 -04:00
Brad King
3ddc9cca61
Merge topic 'update-bzip2'
...
9bd8c64e68 Merge branch 'upstream-bzip2' into update-bzip2
229de49624 bzip2 2019-07-13 (6a8690fc)
cab14b9dfd bzip2: Prefer LF as EOL in dlltest.c
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11360
2025-10-28 09:43:09 -04:00
Brad King
36b59a397f
Merge branch 'release-4.2'
2025-10-28 09:40:36 -04:00
Brad King
79ecb8f188
Merge topic 'FASTBuild-optimize-try_compile'
...
f6abf8044a FASTBuild: Disable caching and distribution in try_compile builds
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11365
2025-10-28 09:40:36 -04:00