summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | CMake Nightly Date StampKitware Robot2024-05-101-1/+1
| | | |
* | | | Merge topic 'remove-vs9-generator'Brad King2024-05-0914-320/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 03c31b0395 Drop Visual Studio 9 2008 generator 88c70dde34 cmGlobalVisualStudioGenerator: Use member 'Version' more directly 0bdcf1cb17 cmLocalVisualStudio7Generator: Make vfproj conditions more explicit acc5ea7390 cmLocalVisualStudio7Generator: Reset per-target members after every target 252702bb35 cmVisualStudioGeneratorOptions: Order version check branches consistently Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9496
| * | | | Drop Visual Studio 9 2008 generatorBrad King2024-05-0812-295/+11
| | | | | | | | | | | | | | | | | | | | This generator has been deprecated since CMake 3.27. Remove it.
| * | | | cmGlobalVisualStudioGenerator: Use member 'Version' more directlyBrad King2024-05-082-3/+2
| | | | |
| * | | | cmLocalVisualStudio7Generator: Make vfproj conditions more explicitBrad King2024-05-084-16/+20
| | | | | | | | | | | | | | | | | | | | Avoid relying on the conditions for `vcproj` used by the VS9 generator.
| * | | | cmLocalVisualStudio7Generator: Reset per-target members after every targetBrad King2024-05-082-2/+4
| | | | |
| * | | | cmVisualStudioGeneratorOptions: Order version check branches consistentlyBrad King2024-05-071-24/+15
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2024-05-091-1/+1
| |_|_|/ |/| | |
* | | | CMake Nightly Date StampKitware Robot2024-05-081-1/+1
|/ / /
* | | 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)
* | | | 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-063-1/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-033-1/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0612-29/+183
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Support arbitrary component name when packagingDeniz Bahadir2024-05-0111-28/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'cxxmodules-no-import-std-reason'Brad King2024-05-031-6/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | cxxmodules: give a reason for unavailability of `import std`Ben Boeckel2024-05-021-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | If the `CMAKE_CXX<STANDARD>_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE` variable is set, include its value in the error message.
* | | | | Merge topic 'cxxmodules-build-export-different-directory'Brad King2024-05-031-2/+4
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-021-2/+4
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | 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-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Merge topic 'export-name-safe-name' into release-3.29Brad King2024-05-015-6/+23
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 142a85f9c1 cxxmodules: use filesystem-safe export names in filenames 4452d41488 cmGeneratorTarget: add method to get a filesystem-safe export name Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9474
| * \ \ \ \ Merge topic 'exported-modules-with-headers' into release-3.29Brad King2024-04-301-0/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2041f7c9bf cmGeneratorTarget: add the original target as a COMPILE_ONLY link 051c2110c8 Tests/CXXModules: test exporting modules which include headers Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9469
* | | | | | | 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-021-0/+12
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-011-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds new target property VS_FILTER_PROPS Fixes: #25948
* | | | | | | | | 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 'export-name-safe-name' into release-3.28Brad King2024-05-015-6/+23
| |\ \ \ \ \ \ \ \ | | |_|_|_|/ / / / | |/| | | | / / / | | | |_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 142a85f9c1 cxxmodules: use filesystem-safe export names in filenames 4452d41488 cmGeneratorTarget: add method to get a filesystem-safe export name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9474
* | | | | | | | CMake Nightly Date StampKitware Robot2024-05-021-1/+1
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Merge topic 'genex-link-properties'Brad King2024-05-0111-155/+180
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ddb9442f48 GenEx: Fix TARGET_PROPERTY evaluation of transitive link properties 862b8e28ad GenEx: Teach TARGET_PROPERTY evaluation to optionally pierce LINK_ONLY 8d1d6a1437 Tests: Cover TARGET_PROPERTY genex evaluation of transitive link properties abf607c2ec Tests: Cover TARGET_PROPERTY genex evaluation of transitive build properties 7d3d728a72 Help: Clarify CMP0099 documentation and summary text 79a3ae9a0d cmGeneratorExpressionDAGChecker: Simplify transitive property table e8010b67c7 cmGeneratorExpressionDAGChecker: Make local generator available in constructor b36fb3f6f1 cmGeneratorExpressionNode: Remove outdated lint suppression Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9473
| * | | | | | GenEx: Fix TARGET_PROPERTY evaluation of transitive link propertiesBrad King2024-04-292-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit bbba701899 (Link properties: must be transitive over private dependency on static library, 2019-12-06, v3.17.0-rc1~323^2) and commit af9d4f24ae (Link properties: must be transitive over private dependency on static library, 2019-12-11, v3.17.0-rc1~305^2) we neglected to implement CMP0099 NEW behavior for `TARGET_PROPERTY` evaluation. Add policy CMP0166 to fix this.
| * | | | | | GenEx: Teach TARGET_PROPERTY evaluation to optionally pierce LINK_ONLYBrad King2024-04-293-20/+34
| | | | | | |
| * | | | | | Help: Clarify CMP0099 documentation and summary textBrad King2024-04-291-2/+2
| | | | | | |
| * | | | | | cmGeneratorExpressionDAGChecker: Simplify transitive property tableBrad King2024-04-296-97/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the table of builtin transitive properties to avoid preprocessor-generated cascading-if blocks with duplicate code.
| * | | | | | cmGeneratorExpressionDAGChecker: Make local generator available in constructorBrad King2024-04-299-47/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the local generator in the evaluation context, not that of the current target/property pair.
| * | | | | | cmGeneratorExpressionNode: Remove outdated lint suppressionBrad King2024-04-291-2/+1
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 895efd4e7a (cmGeneratorExpression: Consolidate recognition of transitive properties, 2024-04-12) a lint suppression added by commit fb461cacba (silence selected clang-tidy violations, 2016-10-18, v3.8.0-rc1~428^2~1) is no longer needed.
* | | | | | Merge topic 'export-name-safe-name'Brad King2024-05-015-6/+23
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 142a85f9c1 cxxmodules: use filesystem-safe export names in filenames 4452d41488 cmGeneratorTarget: add method to get a filesystem-safe export name Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9474
| * | | | | cxxmodules: use filesystem-safe export names in filenamesBen Boeckel2024-04-303-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add tests. Fixes: #25828