Ben Boeckel
cf44806e7c
Help/CMAKE_INSTALL_OBJECT_NAME_STRATEGY: add versionadded directive
2025-09-03 10:30:47 -04:00
Brad King
1dfe9898e6
Merge topic 'fix-config-selection'
...
a40896c0e4 cmTarget: Fix (new) configuration selection
702b7fda49 cmTarget: Improve code style
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11122
2025-09-02 10:57:56 -04:00
Brad King
54e7008e2d
Merge topic 'vs-cleanup'
...
78d9564d50 cmGlobalVisualStudio7Generator: Inline short method at only call site
034cc29b89 cmGlobalVisualStudio7Generator: Constify .sln write methods
5004602715 cmGlobalVisualStudio7Generator: Factor folder collection out of write method
6ae4ed30d9 cmGlobalVisualStudio7Generator: Factor target collection out of write method
5582eb292e cmGlobalVisualStudio7Generator: Update outdated comment
2297ba9399 cmGlobalVisualStudio7Generator: Remove redundant C++ modules check
ccbd61dd53 cmGlobalVisualStudio7Generator: Remove unused member
93e34a5e0e cmGlobalGenerator: Constify GetTargetDirectDepends
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11130
2025-09-02 10:56:09 -04:00
Brad King
f70a8f890b
Merge topic 'aix-clang-compiler-target'
...
c482a8833a AIX: Fix shared library linking with CMAKE_<LANG>_COMPILER_TARGET
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11113
2025-09-02 10:54:21 -04:00
Brad King
a17394f334
Merge topic 'mingw-host-system-version'
...
5a919e6601 cmake: Fix CMAKE_HOST_SYSTEM_VERSION when built for MinGW
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11112
2025-09-02 10:17:33 -04:00
Brad King
c36c19d711
Merge topic 'patch-CheckIncludeFiles-LANGUAGE'
...
5000f895fd CheckIncludeFiles: Document version 3.11 for LANGUAGE option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11123
2025-09-02 09:52:24 -04:00
Brad King
1873914be3
Merge branch 'release-4.1'
2025-09-02 09:48:07 -04:00
Brad King
dcb82f6d6d
Merge topic 'cmPropertySentinel-definition'
...
319c427d2f cmPropertySentinel: update definition
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11129
2025-09-02 09:48:07 -04:00
Brad King
cc6dc6ba85
Merge topic 'cmPropertySentinel-definition' into release-4.1
...
319c427d2f cmPropertySentinel: update definition
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11129
2025-09-02 09:48:02 -04:00
Brad King
5fc70d2131
Merge branch 'release-4.1'
2025-09-02 09:42:43 -04:00
Brad King
3af621006d
Merge topic 'var-check-before-usage'
...
d614e8fb3f cmLocalGenerator: check variables before usage
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11127
2025-09-02 09:42:42 -04:00
Brad King
ef8c5bbaf3
Merge topic 'var-check-before-usage' into release-4.1
...
d614e8fb3f cmLocalGenerator: check variables before usage
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11127
2025-09-02 09:42:40 -04:00
Kitware Robot
b3312daf05
CMake Nightly Date Stamp
2025-09-02 00:05:03 -04:00
Brad King
78d9564d50
cmGlobalVisualStudio7Generator: Inline short method at only call site
2025-09-01 15:25:19 -04:00
Brad King
034cc29b89
cmGlobalVisualStudio7Generator: Constify .sln write methods
2025-09-01 15:25:19 -04:00
Brad King
5004602715
cmGlobalVisualStudio7Generator: Factor folder collection out of write method
2025-09-01 15:25:19 -04:00
Brad King
6ae4ed30d9
cmGlobalVisualStudio7Generator: Factor target collection out of write method
2025-09-01 15:25:18 -04:00
Brad King
5582eb292e
cmGlobalVisualStudio7Generator: Update outdated comment
2025-09-01 15:25:18 -04:00
Brad King
2297ba9399
cmGlobalVisualStudio7Generator: Remove redundant C++ modules check
...
In commit 386465bf83 (cmTarget: add support for C++ module fileset
types, 2022-04-08, v3.25.0-rc1~624^2~7) we added two calls to the same
check in the VS generators. Remove one.
2025-09-01 15:25:18 -04:00
Brad King
ccbd61dd53
cmGlobalVisualStudio7Generator: Remove unused member
2025-09-01 15:25:18 -04:00
Brad King
93e34a5e0e
cmGlobalGenerator: Constify GetTargetDirectDepends
...
It should only be called for targets whose dependencies are already
computed.
2025-09-01 15:25:18 -04:00
Brad King
c07545b945
Tests/RunCMake/VS10Project: Enable case covering VS_SOLUTION_ITEMS
...
This was missed in commit 0bb13ba0e6 (VS: Add support for Visual Studio
solution items, 2024-10-27, v4.0.0-rc1~423^2).
2025-09-01 15:25:17 -04:00
Alexey Rochev
5a919e6601
cmake: Fix CMAKE_HOST_SYSTEM_VERSION when built for MinGW
...
Due to #23244 our application manifest is not automatically embedded
when built with MinGW tools. Embed it via an explicit resource file.
Also add `<trustInfo>` to the manifest because MinGW tooling does not
add it automatically as MSVC tooling does.
Fixes : #27152
Issue: #23244
2025-09-01 14:49:35 -04:00
David Tenty
c482a8833a
AIX: Fix shared library linking with CMAKE_<LANG>_COMPILER_TARGET
...
With Clang, `CMAKE_C_COMPILER_TARGET` adds a `--target=` flag as part of
the `<CMAKE_C_COMPILER>` placeholder, causing the flag to be passed to
our `ExportImportList` script. Tolerate it.
Fixes : #27167
2025-09-01 14:42:46 -04:00
Brad King
bc0774c25f
Merge topic 'cmake-gui-preset-no-generator'
...
18f1f19c82 cmake-gui: Support configure presets version 3+ without generator field
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11126
2025-09-01 14:40:11 -04:00
Brad King
c3bdb07a94
Merge topic 'document_find_package_dir_version'
...
f104bdb3b9 Help: Specify `<PackageName>_DIR` interaction with a version
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11114
2025-09-01 14:37:50 -04:00
Brad King
d65cd65df5
Merge topic 'patch-find-modules-versions'
...
f0b4c19052 FindIcotool: Add Icotool_VERSION
f503c8dad4 FindHSPELL: Add HSPELL_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11098
2025-09-01 14:36:24 -04:00
Richard Thomson
18f1f19c82
cmake-gui: Support configure presets version 3+ without generator field
...
Presets allow this since commit 06e6981336 (cmake-presets: Make
generator and binaryDir fields optional, 2021-03-26, v3.21.0-rc1~346^2).
Fixes : #25817
2025-09-01 14:34:06 -04:00
Brad King
230c5c7d46
Merge topic 'patch-FindOpenCL-version'
...
870fd818a3 FindOpenCL: Add OpenCL_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11108
2025-09-01 14:31:02 -04:00
Brad King
5cf0f77644
Merge topic 'patch-FindCUDA-CMAKE_CURRENT_LIST_DIR'
...
bf26270000 FindCUDA: Use CMAKE_CURRENT_LIST_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11119
2025-09-01 14:28:54 -04:00
Brad King
f1912b72a3
Merge topic 'patch-FindQt4-paths'
...
8083ce3d8a FindQt4: Use CMAKE_CURRENT_LIST_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11118
2025-09-01 14:26:31 -04:00
Brad King
1c83bf44c8
Merge topic 'patch-ExternalData-paths'
...
a10fa40c85 ExternalData: Use CMAKE_CURRENT_FUNCTION_LIST_{DIR,FILE}
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11117
2025-09-01 14:24:25 -04:00
Brad King
0e99a701d5
Merge topic 'patch-CheckPrototypeDefinition-CMAKE_CURRENT_FUNCTION_LIST_DIR'
...
6cf9ed5f94 CheckPrototypeDefinition: Use CMAKE_CURRENT_FUNCTION_LIST_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11116
2025-09-01 14:21:20 -04:00
Brad King
2887d438de
Merge topic 'patch-CheckTypeSize-CMAKE_CURRENT_FUNCTION_LIST_DIR'
...
d59be2406e CheckTypeSize: Use CMAKE_CURRENT_FUNCTION_LIST_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11115
2025-09-01 14:18:11 -04:00
Marc Chevrier
319c427d2f
cmPropertySentinel: update definition
...
Reported by https://pvs-studio.com/en/blog/posts/cpp/1277/ (N8)
Issue: #27159
2025-09-01 09:39:30 +02:00
Kitware Robot
cd618e9322
CMake Nightly Date Stamp
2025-09-01 00:05:05 -04:00
Peter Kokot
5000f895fd
CheckIncludeFiles: Document version 3.11 for LANGUAGE option
...
- The check_include_files(LANGUAGE) option was added in CMake 3.11.
- Additionally, this syncs the documentation style for the other modules
that check headers as they are commonly browsed together.
- Fixed typo in CheckIncludeFile module example.
2025-08-31 16:02:28 +02:00
Kitware Robot
e1bd97de9e
CMake Nightly Date Stamp
2025-08-31 00:05:23 -04:00
Kitware Robot
8275211a48
CMake Nightly Date Stamp
2025-08-30 00:05:19 -04:00
Marc Chevrier
d614e8fb3f
cmLocalGenerator: check variables before usage
...
Reported by https://pvs-studio.com/en/blog/posts/cpp/1277/ (N2)
Issue: 27159
2025-08-29 18:47:28 +02:00
Kitware Robot
8b94564ee4
CMake Nightly Date Stamp
2025-08-29 00:05:54 -04:00
Kitware Robot
4d21b9e6d8
CMake Nightly Date Stamp
2025-08-28 00:05:17 -04:00
Matthew Woehlke
a40896c0e4
cmTarget: Fix (new) configuration selection
...
The recently introduced CMP0200 improved configuration selection, but
did not correctly implement case-insensitivity. Add some additional case
smashing to ensure that matching is not case sensitive. Improve the test
which was passing due to falling back to the first listed configuration
rather than selecting a matching configuration.
2025-08-27 16:23:16 -04:00
Matthew Woehlke
702b7fda49
cmTarget: Improve code style
...
Rename `desired_config` argument of `GetMappedConfig[New]` to
`desiredConfig`, in accordance with our specified style preferences.
2025-08-27 16:18:40 -04:00
Brad King
bf46c263f8
Merge branch 'release-4.1'
2025-08-27 13:32:32 -04:00
Brad King
ba8c4a15f1
CMake 4.1.1
v4.1.1
2025-08-27 12:33:28 -04:00
Brad King
985bbf724a
Merge topic 'fbuild'
...
94113ac687 ci: Add jobs for FASTBuild generator on Linux, macOS, and Windows
01147454e7 FASTBuild: Add generator
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Osyotr <zhenchik35026@gmail.com >
Acked-by: Peter Kokot <peterkokot@gmail.com >
Merge-request: !10941
2025-08-27 11:43:37 -04:00
Brad King
1637764cb7
Merge topic 'FindOpenMP-LLVMFlang'
...
d47ea5684a FindOpenMP: Add support for LLVMFlang on non-Windows too
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11069
2025-08-27 11:38:25 -04:00
Brad King
2981a064f4
Merge topic 'patch-FindwxWidgets-wxWidgets_USE_FILE'
...
4f9a8c8aa1 FindwxWidgets: Deprecate wxWidgets_USE_FILE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11110
2025-08-27 11:36:21 -04:00
Brad King
4af2db6ad9
Merge topic 'patch-FindQt3-version'
...
34a4b39cf3 FindQt3: Add Qt3_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11107
2025-08-27 11:35:02 -04:00