summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | cxxmodules: Do not scan sources while testing the compilerBrad King2024-05-062-0/+16
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | The C++ sources we use to test the compiler do not use modules. Avoid requiring a compiler that can scan just to enable the language, even when CMP0155 is NEW. The project may explicitly turn off `CMAKE_CXX_SCAN_FOR_MODULES` before adding any targets. Fixes: #25956
* | | Merge topic 'update-kwsys'Brad King2024-05-071-2/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d29d3c79b Merge branch 'upstream-KWSys' into update-kwsys 31a1906652 KWSys 2024-05-06 (307037cf) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9493
| * \ \ Merge branch 'upstream-KWSys' into update-kwsysBrad King2024-05-061-2/+7
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | # By KWSys Upstream * upstream-KWSys: KWSys 2024-05-06 (307037cf)
| | * | | KWSys 2024-05-06 (307037cf)KWSys Upstream2024-05-061-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 307037cfdf7b24cf3b5b845cd8584caed8bfef69 (master). Upstream Shortlog ----------------- Juan Ramos (2): ff14b4f5 SystemInformation: Fix find logic a347a66b SystemInformation: Implement HasFPU on Apple processors
* | | | | CMake Nightly Date StampKitware Robot2024-05-071-1/+1
|/ / / /
* | | | Merge topic 'usage-requirement-purpose-specifier'Brad King2024-05-0612-173/+152
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff1693cb3c cmGeneratorTarget: Clarify enum for specifying purpose of usage requirements 662d4c5315 cmGeneratorTarget: Clarify name for evaluating compile-only usage requirements Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9490
| * | | | cmGeneratorTarget: Clarify enum for specifying purpose of usage requirementsBrad King2024-05-0312-172/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 1e49880472 (cmGeneratorTarget: Avoid boolean trap in usage requirement lookup, 2021-12-08, v3.23.0-rc1~245^2) we have clarified the distinction between compile-only and link-only usage requirements. Rename the `LinkInterfaceFor` enum to `UseTo` to clarify that its role is to specify the purpose of usage requirements.
| * | | | cmGeneratorTarget: Clarify name for evaluating compile-only usage requirementsBrad King2024-05-035-36/+37
| | | | |
* | | | | Merge topic 'FindBoost-remove'Brad King2024-05-0624-1/+136
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e0355c4ea9 FindBoost: Add policy to remove this module Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Christoph Grüninger <foss@grueninger.de> Merge-request: !9488
| * | | | | FindBoost: Add policy to remove this moduleBrad King2024-05-0324-1/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream Boost 1.70 and above provide a proper `BoostConfig.cmake` package configuration file. Packages for all major distros now provide it in at least one LTS release. Add a policy to pretend that the `FindBoost` module does not exist so that projects calling `find_package(Boost)` use the upstream package directly. Closes: #19402
* | | | | | Merge topic 'cpack-support-all-component-names'Brad King2024-05-0618-30/+265
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d7e2fede03 CPack: Add tests for component containing problematic characters a1af593291 CPack: Support arbitrary component name when packaging 9e67ad47a9 cmLocalGenerator: Support arbitrary component name when installing Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9436
| * | | | | | CPack: Add tests for component containing problematic charactersDeniz Bahadir2024-05-015-0/+81
| | | | | | |
| * | | | | | CPack: Support arbitrary component name when packagingDeniz Bahadir2024-05-0112-29/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CPack no longer blindly tries to create temporary packaging (sub)directories that contain the verbatim name of a component, which might contain characters that are not supported on the platform / filesystem. Instead, if the component's name contains a (possibly) problematic character its MD5 hash will be used for that temporary packaging (sub)directory. Likewise, if the component's name resembles a reserved device name (e.g. "COM1" on Windows) then the temporary packaging (sub)directory will get this name prefixed with an underscore. Similar, if it ends in a dot (on Windows) then the temporary packaging (sub)directory will get this name suffixed with an underscore. Fixes: #23612
| * | | | | | cmLocalGenerator: Support arbitrary component name when installingDeniz Bahadir2024-05-011-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generated `cmake_install.cmake` script no longer blindly tries to create files `install_manifest_<component-name>.txt` that partly consists of the verbatim name of a component, which might contain characters that are not supported on the platform / filesystem. Instead, if the component's name contains a (possibly) problematic character its MD5 hash will be used: `install_manifest_<component-hash>.txt`
* | | | | | | CMake Nightly Date StampKitware Robot2024-05-061-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2024-05-051-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2024-05-041-1/+1
| |_|/ / / / |/| | | | |
* | | | | | Merge topic 'doc-buildsystem'Brad King2024-05-033-13/+13
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | e300620a09 Help: Clarify cmake-buildsystem(7) compile properties section names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9489
| * | | | | Help: Clarify cmake-buildsystem(7) compile properties section namesBrad King2024-05-033-13/+13
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 835f34949e (Help: Update cmake-buildsystem(7) build and usage requirements, 2024-04-23) we labeled the sections documenting `COMPILE_*` properties as "build properties". All the properties it documents are about compilation steps before linking, including the Autogen features for compiling Qt metadata, so rename the sections as "compile properties". This is also consistent with the name of the `$<COMPILE_ONLY:...>` generator expression.
* | | | | Merge topic 'cxxmodules-no-import-std-reason'Brad King2024-05-0311-7/+113
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e89e819398 Tests/CXXModules: add tests for C++26 `import std` support 6dad18f060 cxxmodules: give a reason for unavailability of `import std` Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9486
| * | | | | Tests/CXXModules: add tests for C++26 `import std` supportBen Boeckel2024-05-026-0/+52
| | | | | |
| * | | | | cxxmodules: give a reason for unavailability of `import std`Ben Boeckel2024-05-025-7/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the `CMAKE_CXX<STANDARD>_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE` variable is set, include its value in the error message.
* | | | | | Merge branch 'release-3.29'Brad King2024-05-030-0/+0
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Merge branch 'release-3.28' into release-3.29Brad King2024-05-030-0/+0
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
* | | | | | Merge branch 'release-3.28'Brad King2024-05-030-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'cxxmodules-build-export-different-directory' into release-3.28Brad King2024-05-0311-2/+153
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec35251510 cmDyndepCollation: look at all `export(TARGETS)` calls Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9485
* | \ \ \ \ \ Merge branch 'release-3.29'Brad King2024-05-030-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'cxxmodules-build-export-different-directory' into release-3.29Brad King2024-05-0311-2/+153
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1fba6d3233 Merge branch 'cxxmodules-build-export-different-directory-3.28' into cxxmodules-build-export-different-directory ec35251510 cmDyndepCollation: look at all `export(TARGETS)` calls Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9485
* | \ \ \ \ \ \ Merge topic 'cxxmodules-build-export-different-directory'Brad King2024-05-0311-2/+153
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | / / | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1fba6d3233 Merge branch 'cxxmodules-build-export-different-directory-3.28' into cxxmodules-build-export-different-directory ec35251510 cmDyndepCollation: look at all `export(TARGETS)` calls Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9485
| * | | | | | Merge branch 'cxxmodules-build-export-different-directory-3.28' into ↵Ben Boeckel2024-05-0211-2/+153
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cxxmodules-build-export-different-directory * cxxmodules-build-export-different-directory-3.28: cmDyndepCollation: look at all `export(TARGETS)` calls
| | * | | | | cmDyndepCollation: look at all `export(TARGETS)` callsBen Boeckel2024-05-0211-2/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, only `export()` calls in the same directory were noticed. Also add a test that exports in a different directory than the target itself resides in. Fixes: #25813
* | | | | | | CMake Nightly Date StampKitware Robot2024-05-031-1/+1
| | | | | | |
* | | | | | | Merge topic 'pch-single-arch'Brad King2024-05-026-41/+34
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ef006ebd9b PCH: Use per-arch .pch files only when building multiple Apple architectures 99bfb430ee cmNinjaTargetGenerator: Remove unused Apple architecture list Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9483
| * | | | | | | PCH: Use per-arch .pch files only when building multiple Apple architecturesBrad King2024-05-016-35/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit f593b354da (PCH: Add support for multi architecture iOS projects, 2020-04-02, v3.18.0-rc1~414^2) we use per-arch .pch files even when compiling for just the host architecture on macOS arm64. This breaks with compilers that do not support `-Xarch_` flags, such as GCC. Avoid using per-arch .pch files in single-architecture builds. Fixes: #25514 Issue: #20497
| * | | | | | | cmNinjaTargetGenerator: Remove unused Apple architecture listBrad King2024-05-011-6/+0
| | | | | | | |
* | | | | | | | Merge topic 'vs-filter-props'Brad King2024-05-027-21/+57
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56a96d1f1f VS: Add option to import .props in .vcxproj.filters files Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9478
| * | | | | | | | VS: Add option to import .props in .vcxproj.filters fileshalx992024-05-017-21/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds new target property VS_FILTER_PROPS Fixes: #25948
* | | | | | | | | Merge branch 'release-3.29'Brad King2024-05-020-0/+0
|\ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / | |/| | | | | | |
| * | | | | | | | Merge branch 'release-3.28' into release-3.29Brad King2024-05-020-0/+0
| |\ \ \ \ \ \ \ \ | | | |_|_|_|/ / / | | |/| | | | | |
* | | | | | | | | Merge branch 'release-3.28'Brad King2024-05-020-0/+0
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Merge topic 'vs-scan-module-deps-settings' into release-3.28Brad King2024-05-024-14/+52
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3022f0363f VS: set ScanSourceForModuleDependencies at vcxproj level dff511ad28 cmGeneratorTarget: add a target-level query for "needs dyndep" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9471
* | \ \ \ \ \ \ \ \ Merge branch 'release-3.29'Brad King2024-05-020-0/+0
|\ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | | | |
| * | | | | | | | | Merge topic 'vs-scan-module-deps-settings' into release-3.29Brad King2024-05-024-14/+52
| |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | / / / / | | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3022f0363f VS: set ScanSourceForModuleDependencies at vcxproj level dff511ad28 cmGeneratorTarget: add a target-level query for "needs dyndep" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: AaronRuizMoraUK <aaronruizmora@gmail.com> Merge-request: !9471
* | | | | | | | | Merge topic 'vs-scan-module-deps-settings'Brad King2024-05-024-14/+52
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3022f0363f VS: set ScanSourceForModuleDependencies at vcxproj level dff511ad28 cmGeneratorTarget: add a target-level query for "needs dyndep" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: AaronRuizMoraUK <aaronruizmora@gmail.com> Merge-request: !9471
| * | | | | | | | VS: set ScanSourceForModuleDependencies at vcxproj levelBen Boeckel2024-05-012-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the target-wide `CXX_SCAN_FOR_MODULES`/`CMP0155` selection with the `.vcxproj`-wide `ScanSourceForModuleDependencies` setting. Set the per-source equivalent only when needed for a per-source `CXX_SCAN_FOR_MODULES` property. This approach enables Intellisense for interfaces imported from modules. It is also more consistent with what a user might expect when investigating the state of module scanning from the VS property panels. Fixes: #25806 Fixes: #25947
| * | | | | | | | cmGeneratorTarget: add a target-level query for "needs dyndep"Ben Boeckel2024-05-012-9/+31
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can still be overridden per-source, but it indicates the state of the target's default behavior.
* | | | | | | | Merge topic 'FindICU-cleanup'Brad King2024-05-021-96/+17
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9221448327 FindICU: remove noise, cleanup components handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9481
| * | | | | | | | FindICU: remove noise, cleanup components handlingOsyotr2024-05-011-96/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25892
* | | | | | | | | Merge topic 'fphsa-before-project'Brad King2024-05-0211-9/+41
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 68a8c89430 FPHSA: Add hint for failure when called before project() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9480
| * | | | | | | | | FPHSA: Add hint for failure when called before project()Brad King2024-05-0111-9/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Help project authors recognize an ordering mistake. Inspired-by: Jeremy Rifkin @jeremy-rifkin Closes: #25941