summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2023-10-251-1/+1
|
* Merge branch 'release-3.28'Brad King2023-10-240-0/+0
|\
| * CMake 3.28.0-rc3v3.28.0-rc3Brad King2023-10-241-1/+1
| |
* | Merge topic 'compute-compiler-linker'Brad King2023-10-2423-108/+439
|\ \ | | | | | | | | | | | | | | | | | | | | | 538ff514b5 Link Step: use the correct linker for depfile handling c26c6ac488 Link Step: compute effective linker used by the compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8885
| * | Link Step: use the correct linker for depfile handlingMarc Chevrier2023-10-241-11/+18
| | | | | | | | | | | | | | | Follow up commit 375e6fdbbe (Link step: use linker dependency linker file, 2023-04-19, v3.27.0-rc1~126^2).
| * | Link Step: compute effective linker used by the compilerMarc Chevrier2023-10-2422-97/+421
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract the effective linker during the computation of implicit artifacts delivered by the compiler to the linker. Define various variables describing the linker: * CMAKE_<LANG>_COMPILER_LINKER * CMAKE_<LANG>_COMPILER_LINKER_VERSION * CMAKE_<LANG>_COMPILER_LINKER_ID * CMAKE_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT This is complementary to feature introduced by commit 96a953b1ed (Add options to specify linker tool, 2023-09-27). Fixes: #17596, #18209, #25344
* | | Merge topic 'vector-emplace-back'Brad King2023-10-249-38/+40
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ca6dfc280 Source: Reduce vector entry allocations and copies aaeb2e0aa8 cmLinkItemGraphVisitor: Remove unnecessary syntax d1c1e95331 cmCPackInnoSetupGenerator: Reserve space to reduce allocations Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8891
| * | | Source: Reduce vector entry allocations and copiesRose2023-10-238-37/+38
| | | | | | | | | | | | | | | | Prefer `emplace_back` over `push_back`.
| * | | cmLinkItemGraphVisitor: Remove unnecessary syntaxRose2023-10-231-1/+1
| | | |
| * | | cmCPackInnoSetupGenerator: Reserve space to reduce allocationsRose2023-10-231-0/+1
| | | |
* | | | Merge topic 'misc-warnings'Brad King2023-10-243-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ed999674c Fix clang -Wdeprecated-pragma warnings by removing deprecated ATOMIC_VAR_INIT 162e017b2d Fix clang -Wstrict-prototypes by making main take void instead of nothing b373a22991 Fix clang -Wreserved-identifier by renaming an enum Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8905
| * | | | Fix clang -Wdeprecated-pragma warnings by removing deprecated ATOMIC_VAR_INITSean McBride2023-10-211-2/+2
| | | | |
| * | | | Fix clang -Wstrict-prototypes by making main take void instead of nothingSean McBride2023-10-201-1/+1
| | | | |
| * | | | Fix clang -Wreserved-identifier by renaming an enumSean McBride2023-10-201-1/+1
| | | | |
* | | | | Merge branch 'release-3.28'Brad King2023-10-240-0/+0
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge topic 'cmcldeps-quote-rc' into release-3.28Brad King2023-10-241-1/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 03080d18eb cmcldeps: Restore support for rc.exe path not fully GetShortPathName-d Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8912
* | \ \ \ \ Merge topic 'cmcldeps-quote-rc'Brad King2023-10-241-1/+2
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 03080d18eb cmcldeps: Restore support for rc.exe path not fully GetShortPathName-d Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8912
| * | | | | cmcldeps: Restore support for rc.exe path not fully GetShortPathName-dBrad King2023-10-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases `GetShortPathNameW` may not remove all spaces. If that happens with the path to `rc.exe`, cmcldeps needs to explicitly quote the path in the command it runs. This was exposed by commit 50a6e78a82 (cmSystemTools::RunSingleCommand(): Replace cmsysProcess with cmUVProcessChain, 2023-07-25, v3.28.0-rc1~138^2~4) because the underlying process execution library no longer reconstructs the command line without quotes around commands without spaces. Fixes: #25355
* | | | | | Merge branch 'release-3.28'Brad King2023-10-240-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'source_group-TREE-no-FILES' into release-3.28Brad King2023-10-241-2/+5
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8bb949fc30 source_group: Restore behavior of TREE with empty FILES Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8910
* | | | | | Merge topic 'source_group-TREE-no-FILES'Brad King2023-10-241-2/+5
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8bb949fc30 source_group: Restore behavior of TREE with empty FILES Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8910
| * | | | | source_group: Restore behavior of TREE with empty FILESBrad King2023-10-231-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit d85238a2f2 (source_group: Fix TREE without FILES, 2023-06-29, v3.28.0-rc1~399^2~1) we incorrectly treat a FILES argument with no values as if it were not given at all. Fixes: #25353
* | | | | | CMake Nightly Date StampKitware Robot2023-10-241-1/+1
| | | | | |
* | | | | | Merge branch 'release-3.28'Brad King2023-10-230-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'clang-ansi-color' into release-3.28Brad King2023-10-231-2/+8
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 74b5fae52d Clang: Use -fno-ansi-escape-codes for color diagnostics on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8900
* | | | | | Merge topic 'clang-ansi-color'Brad King2023-10-231-2/+8
|\ \ \ \ \ \ | | |/ / / / | |/| | | / | |_|_|_|/ |/| | | | | | | | | | | | | | 74b5fae52d Clang: Use -fno-ansi-escape-codes for color diagnostics on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8900
| * | | | Clang: Use -fno-ansi-escape-codes for color diagnostics on WindowsCristian Adam2023-10-231-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -fno-ansi-escape-codes is used only on Windows by Clang. Without the flag color diagnostics are displayed only if clang.exe is executed directly. Build tools like ninja and mingw32-make will not display colored diagnostics. Using -fno-ansi-escape-codes will make the build tools pass the colored diagnostics to the calling application e.g IDE. Fixes: #24235
* | | | | Merge topic 'ninja-minor-cleanups'Brad King2023-10-233-24/+16
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2e949b700 cmGlobalNinjaGenerator: remove unnecessary virtual method 1cfba13004 cmGlobalNinjaGenerator: fix lambda variable name typo f02c3c6181 cmFileCommand: combine string literals Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8901
| * | | | | cmGlobalNinjaGenerator: remove unnecessary virtual methodBen Boeckel2023-10-202-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation is the same and the called method used internally is `virtual`, so just make the call non-virtual.
| * | | | | cmGlobalNinjaGenerator: fix lambda variable name typoBen Boeckel2023-10-201-6/+6
| | | | | |
| * | | | | cmFileCommand: combine string literalsBen Boeckel2023-10-201-7/+9
| | | | | |
* | | | | | Merge branch 'release-3.28'Brad King2023-10-230-0/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge topic 'ninja-better-order-depends' into release-3.28Brad King2023-10-2310-5/+97
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ed45432571 cmNinjaTargetGenerator: do not order-depend on C++ module sources 0973cd6702 cmNinjaTargetGenerator: use the file set visibility API 4625170925 cmFileSet: add a query for includeable file set types 51f9d9f0a2 cmNinjaTargetGenerator: avoid traversing old outputs repeatedly Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8902
* | \ \ \ \ \ Merge topic 'ninja-better-order-depends'Brad King2023-10-2310-5/+97
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ed45432571 cmNinjaTargetGenerator: do not order-depend on C++ module sources 0973cd6702 cmNinjaTargetGenerator: use the file set visibility API 4625170925 cmFileSet: add a query for includeable file set types 51f9d9f0a2 cmNinjaTargetGenerator: avoid traversing old outputs repeatedly Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8902
| * | | | | | cmNinjaTargetGenerator: do not order-depend on C++ module sourcesBen Boeckel2023-10-208-5/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | C++ module sources should not be included by any other TUs, so their presence cannot matter for order-only dependencies of the entire target. Exclude them. Update CMP0154 to take this into consideration and add tests to the `CXXModules` suite (which already deals with module support detection).
| * | | | | | cmNinjaTargetGenerator: use the file set visibility APIBen Boeckel2023-10-201-1/+1
| | | | | | |
| * | | | | | cmFileSet: add a query for includeable file set typesBen Boeckel2023-10-202-0/+7
| | | | | | |
| * | | | | | cmNinjaTargetGenerator: avoid traversing old outputs repeatedlyBen Boeckel2023-10-201-0/+3
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | We actually only need to look at outputs just added to the vector, not all outputs that have been detected so far.
* | | | | | Merge branch 'release-3.28'Brad King2023-10-230-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'doc-modules-deprecated' into release-3.28Brad King2023-10-231-4/+4
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 75ca6e17f2 Help: Move some deprecated modules to the dedicated sections Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8903
* | | | | | Merge topic 'doc-modules-deprecated'Brad King2023-10-231-4/+4
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 75ca6e17f2 Help: Move some deprecated modules to the dedicated sections Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8903
| * | | | | Help: Move some deprecated modules to the dedicated sections權少2023-10-201-4/+4
| |/ / / /
* | | | | CMake Nightly Date StampKitware Robot2023-10-231-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-10-221-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-10-211-1/+1
| | | | |
* | | | | Merge topic 'ci-linkcheck'Brad King2023-10-203-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54e06c601d Help: Replace link with its http redirect Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8898
| * | | | | Help: Replace link with its http redirectBrad King2023-10-193-3/+3
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2023-10-201-1/+1
| |_|/ / / |/| | | |
* | | | | Merge branch 'release-3.28'Brad King2023-10-190-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'doc-cmake-presets-8' into release-3.28Brad King2023-10-191-0/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3978a3835 Help: Document cmake-presets version 8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8899