- Jul 19, 2021
-
-
0bb3d457 TestDriver: use `CM_NULL` to avoid lints about `nullptr` usage 32ff836e TestDriver: suppress deprecated header lints for time.h Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6352
-
85e74031 Help/ctest_test: add a comment to also update `ctest_memcheck` 731cfd45 Help/ctest_memcheck: mention `ctest_test` arguments Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6351
-
Since these commands share a common argument parser, the documentation should be kept synchronized.
-
0c7f918f VS: Update Visual Studio 17 2022 generator for Preview 2 1ac1436b VS: Fix `/sourceDependencies` flag table entries for v143 919fc7fd VS: Remove broken EnableASAN entry from flag table for v143 3f19847b VS: Remove empty ExternalWarningLevel entry from flag table for v143 ccb6083c VS: Remove empty LanguageStandard entries from flag table for v143 c167de7e VS: Remove empty ConformanceMode entry from flag table for v143 993d706a VS: Populate `/JMC-` flag table entry for v143 a070d87e VS: Populate `-Qspectre-` flag table entry for v143 ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Egor Pugin <egor.pugin@gmail.com> Merge-request: !6350
-
- Jul 15, 2021
-
-
Brad King authored
In particular, update to toolset `v143`. Fixes: #22339
-
Brad King authored
Revise the `/sourceDependencies[:directives]` table entries to properly distinguish the two options (because one is a prefix of the other), and to populate both `Generate*Dependencies` and `*DependenciesFile`. This is the manual update mentioned in commit 887e9df0 (VS: Update v142 CL flag table for VS 16.10, 2021-06-04, v3.21.0-rc1~77^2).
-
Brad King authored
-
Brad King authored
-
Brad King authored
-
Brad King authored
Run the commands python3 Source/cmConvertMSBuildXMLToJSON.py -t v143 \ 'c:/.../2022/Preview/MSBuild/Microsoft/VC/v170/1033/cl.xml' python3 Source/cmConvertMSBuildXMLToJSON.py -t v143 \ 'c:/.../2022/Preview/MSBuild/Microsoft/VC/v170/1033/link.xml' To generate `Templates/MSBuild/FlagTables/v143_{CL,Link}.json`. We can re-use `Templates/MSBuild/FlagTables/v14_LIB.json`.
-
Brad King authored
While the flag tables for C and C++ were generated from MSBuild `.xml` files, the CSharp flag tables were written by hand. Copy the `v142` flag table to use for the `v143` toolset.
-
Brad King authored
-
Brad King authored
-
79e139e3 ci: use CMake 3.21.0 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6349
-
- Jul 14, 2021
-
-
Ben Boeckel authored
-
Ben Boeckel authored
Similar to the other includes, this one should be suppressed as well.
-
Ben Boeckel authored
These are handled internally by inheriting `ctest_test`'s argument bindings. Synchronize the documentation.
-
Ben Boeckel authored
-
Brad King authored
-
509ef50a ARMClang: Fix regression in check for working compiler Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6346
-
Given the compiler to use, `CMakeFindBinUtils.cmake` automatically determines a number of tools including linker (CMAKE_LINKER) and archiver (CMAKE_AR) and stores them in a generated file `CMakeCCompiler.cmake` as non-CACHE entries. The compiler-specific ARMClang.cmake then tries to override CMAKE_LINKER and CMAKE_AR as CACHE entries. Following the introduction of CMP0126, which is set to NEW in the test for a working compiler, setting a CACHE entry does not replace a normal entry of the same name anymore, resulting in a failed test due to wrong linker and archiver. To fix this, set CMAKE_LINKER and CMAKE_AR for ARMClang directly in `CMakeFindBinUtils.cmake` as is done for other compilers. Check for them in `ARMClang.cmake` to safeguard cases when a project explicitly includes `ARMClang.cmake` prior to compiler determination (which some projects do to work around other problems in older CMake versions).
-
161f1f42 Help: Clarify 'cmake --build' signature alternatives Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6343
-
- Jul 13, 2021
-
-
Brad King authored
Documentation added by * commit 4f4f2028 (Help: Add documentation for buildPresets and testPresets, 2021-01-13, v3.20.0-rc1~51^2~7) * commit 676ecf0d (cmake-presets: Add build and test presets, 2020-12-14, v3.20.0-rc1~51^2~6) used square brackets in the `cmake --build` signature to indicate non-optional alternatives, which is not a typical convention. A common convention is to use parentheses instead, but in this case it is probably clearer to list the two signatures separately. Fixes: #22413
-
b2c03347 file(GET_RUNTIME_DEPENDENCIES): Check architecture of dependencies Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6339
-
2114d717 Help: Fix preset example cmakeMinimumRequired Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !6333
-
805fa791 CPack/DEB: Avoid overriding user-provided `postinst` and `postrm` Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6335
-
31ac4b91 ci: Verify that Intel MKL is found when it is the only BLAS/LAPACK 57dcde19 Find{BLAS,LAPACK}: Avoid clobbering results when no vendor is requested Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6336
-
- Jul 12, 2021
-
-
When a user provides `CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA` or `CPACK_DEBIAN_<comp>_PACKAGE_CONTROL_EXTRA` variables in `CMakeLists.txt` and the package contains dynamic libraries, the `CPackDeb.cmake` sets `CPACK_ADD_LDCONFIG_CALL` to `1`. Later it analyzes if defaulted `postinst`/`postrm` should be generated trying to check if the user provides any in `CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA` variable. However, the `foreach` loop uses the invalid variable `PACKAGE_CONTROL_EXTRA` instead, so these files gonna be overridden. Fix the variable name. Fixes: #22410
-
Kyle Edwards authored
Fixes: #22106
-
Brad King authored
Issue: #22403
-
Brad King authored
Logic added by commit 4c74c86f (FindBLAS/LAPACK: Add support for the Fujitsu SSL2 library, 2021-01-27, v3.21.0-rc1~402^2~1) accidentally expressed a boolean condition without proper grouping. The pattern was then copied by commit 2c9e623e (Find{BLAS,LAPACK}: Add support for the NVHPC LAPACK library, 2021-05-05, v3.21.0-rc1~192^2). The resulting logic incorrectly tries Fujitsu and NVHPC vendors even after results are found from another vendor, and then erases those. Fix the grouping. Fixes: #22403
-