https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
ff8c3ac CMake 3.22.0 18 November 2021, 15:51:22 UTC
b33cae9 Merge topic 'fix-mingw32-gcc11-ice' into release-3.22 26c9fbab46 MINGW-w64: Fix string(TIMESTAMP) build on 32bits. f0eae9292b cmTimestamp: Declare component buffer before MinGW-specific code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6737 18 November 2021, 15:38:22 UTC
26c9fba MINGW-w64: Fix string(TIMESTAMP) build on 32bits. Rephrase the string(TIMESTAMP) implementation not to cause gcc-11 ICE on MSYS2/mingw32. Fixes: #22916 18 November 2021, 14:17:38 UTC
f0eae92 cmTimestamp: Declare component buffer before MinGW-specific code 18 November 2021, 14:17:38 UTC
a5eed9e Merge branch 'release-3.21' into release-3.22 18 November 2021, 14:00:25 UTC
c468f98 Merge branch 'release-3.20' into release-3.21 18 November 2021, 14:00:15 UTC
cb39d50 Merge topic 'IntelLLVM-Fortran-copy-mod' into release-3.22 209b896f2c IntelLLVM: Enable Fortran module rebuild avoidance in Makefile generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6740 18 November 2021, 13:59:17 UTC
e64a0b6 Merge topic 'backport-libuv-mingw-w64' into release-3.22 acc14edd70 libuv: Backport MinGW-w64 compilation fix to CMake 3.22 branch Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6735 18 November 2021, 13:57:26 UTC
80b6b20 Merge branch 'IntelLLVM-Fortran-copy-mod' into release-3.21 Merge-request: !6740 17 November 2021, 15:42:51 UTC
7cc7f9a Merge branch 'IntelLLVM-Fortran-copy-mod' into release-3.20 Merge-request: !6740 17 November 2021, 15:42:37 UTC
209b896 IntelLLVM: Enable Fortran module rebuild avoidance in Makefile generators The Makefile generators use an internal `cmake -E cmake_copy_f90_mod` tool to avoid rebuilding module consumers when the `.mod` content changes only in a trivial way (e.g. the time it was built). This is done with logic specific to each vendor's module file format. Enable the "Intel" format support when using the IntelLLVM compiler (ifx) too. Issue: #22922 17 November 2021, 15:41:30 UTC
ed9b971 Merge topic 'gtest_discover_tests-PRE_TEST-dep' into release-3.22 1bf6d5979d gtest_discover_tests: Re-run PRE_TEST discovery on any arg change 715af43124 Tests: Fix and update wrongly named GoogleTest stdout file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6728 17 November 2021, 13:44:28 UTC
acc14ed libuv: Backport MinGW-w64 compilation fix to CMake 3.22 branch Backport libuv commit `3e90bc76` (build: fix build failures with MinGW new headers, 2021-11-03). Fixes: #22916 16 November 2021, 16:58:45 UTC
1bf6d59 gtest_discover_tests: Re-run PRE_TEST discovery on any arg change Fixes: #22912 16 November 2021, 14:45:26 UTC
40ae565 Merge topic 'doc-tests-labels-dynamic' into release-3.22 250acbb099 Help: Improve cross-referencing of test LABELS and related features a77bdefa3e Help: Add missing version details for Additional Test Measurements Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6726 15 November 2021, 14:24:41 UTC
ca4b81d Merge topic 'doc-gtest_discover_tests-filter' into release-3.22 1ef54f3163 Help: Clarify meaning of filter expression in gtest_discover_tests() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6727 15 November 2021, 14:21:51 UTC
715af43 Tests: Fix and update wrongly named GoogleTest stdout file The GoogleTest-skip-test output was never being checked since this test was added due to this file having the wrong name. 14 November 2021, 06:55:49 UTC
1ef54f3 Help: Clarify meaning of filter expression in gtest_discover_tests() 14 November 2021, 05:49:23 UTC
250acbb Help: Improve cross-referencing of test LABELS and related features 13 November 2021, 09:45:05 UTC
a77bdef Help: Add missing version details for Additional Test Measurements 13 November 2021, 09:44:05 UTC
fed67fa CMake 3.22.0-rc3 12 November 2021, 14:15:07 UTC
9740573 Merge topic 'cmp0128-fixup' into release-3.22 e47dfce75d CMP0128: Enable/disable extensions if standard same as default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6723 12 November 2021, 14:02:40 UTC
5154dd2 Merge branch 'release-3.21' into release-3.22 12 November 2021, 14:00:05 UTC
bb48c75 Merge branch 'release-3.20' into release-3.21 12 November 2021, 13:59:43 UTC
c1fe4f6 Merge topic 'IntelLLVM-Fortran-frontend-variant' into release-3.22 b1edd6e7c7 Fortran: Save frontend variant persistently for IntelLLVM Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6718 12 November 2021, 13:58:57 UTC
031ba22 Merge topic 'ti-armcl-unknown-arg-warning' into release-3.22 220f78e253 TI: Recognize invalid compiler option warning during try_compile() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6705 12 November 2021, 13:55:14 UTC
ad85ab2 Merge topic 'ci-vs2022' into release-3.22 190d2b5d55 gitlab-ci: Update Windows jobs to VS 2022 ac32794983 gitlab-ci: Re-organize Windows job tags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6724 12 November 2021, 13:53:21 UTC
e47dfce CMP0128: Enable/disable extensions if standard same as default This was intended to be part of the initial MR (!6177), but accidentally went missing when debugging nightly failures on less common systems. Noticed during !6711 review as the comment about this behaviour didn't match the code. Documentation for CMP0128 is updated to remove a false case and note the two cases related to this. Fixes #22224. 11 November 2021, 19:55:04 UTC
190d2b5 gitlab-ci: Update Windows jobs to VS 2022 11 November 2021, 18:12:27 UTC
ac32794 gitlab-ci: Re-organize Windows job tags Name the tag groups based on the VS version needed. 11 November 2021, 17:51:32 UTC
521c49e Merge branch 'IntelLLVM-Fortran-frontend-variant' into release-3.21 Merge-request: !6718 11 November 2021, 16:24:01 UTC
09ef62f Merge branch 'IntelLLVM-Fortran-frontend-variant' into release-3.20 Merge-request: !6718 11 November 2021, 16:23:35 UTC
b1edd6e Fortran: Save frontend variant persistently for IntelLLVM Since commit a90d2a9eed (IntelLLVM: Add support for Intel LLVM-based compilers, 2020-11-02, v3.20.0-rc1~89^2~20), our IntelLLVM compiler support populates `CMAKE_Fortran_COMPILER_FRONTEND_VARIANT`. However, the frontend variant was not stored in `CMakeCompilerFortran.cmake`. Signed-off-by: William R. Dieter <william.r.dieter@intel.com> 11 November 2021, 16:22:07 UTC
220f78e TI: Recognize invalid compiler option warning during try_compile() Fixes: #22866 11 November 2021, 15:53:31 UTC
2ad300e Merge branch 'release-3.21' into release-3.22 11 November 2021, 15:46:12 UTC
e2ceaec Merge topic 'IntelLLVM-no-xilink' into release-3.22 48f29b5805 IntelLLVM: Use MSVC linker with MSVC frontend variant Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6719 11 November 2021, 15:45:19 UTC
b0ee343 Merge branch 'IntelLLVM-no-xilink' into release-3.21 Merge-request: !6719 10 November 2021, 18:43:41 UTC
48f29b5 IntelLLVM: Use MSVC linker with MSVC frontend variant The Intel compiler (pre-LLVM) expected xilink.exe and had special logic to set xilink.exe. The newer LLVM-based compiler does not want xilink.exe. link.exe works better for host code, and is the default, so change the matching condition such that the old compiler matches (and gets xilink.exe) and the new compiler gets the default link.exe it expects. A better solution will be to use the compiler as the linker. A future change will switch to compiler as linker by default, but that fix needs more validation. Signed-off-by: William R. Dieter <william.r.dieter@intel.com> 10 November 2021, 18:41:06 UTC
0b8d692 Merge topic 'doc-CMP0128' into release-3.22 8371056fbb Help: Correct inaccuracies in wording for CMP0128 Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6711 10 November 2021, 10:47:33 UTC
95ea17d Merge topic 'nmc-reuse-from' into release-3.22 244550997f PCH: Fixed Ninja Multi-Config and REUSE_FROM for MSVC Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6713 09 November 2021, 12:53:18 UTC
2eb96cb Merge topic 'msvc-pch-reuse-config' into release-3.22 95fa27d94d PCH: Fix REUSE_FROM when Debug and RelWithDebInfo configs differ Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6712 09 November 2021, 12:52:29 UTC
44849f1 Merge topic 'doc-preset-inheritance' into release-3.22 6dc6412477 Help: Use stronger wording in rule about preset inheritance Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6710 09 November 2021, 12:51:35 UTC
6dc6412 Help: Use stronger wording in rule about preset inheritance 08 November 2021, 22:00:08 UTC
8371056 Help: Correct inaccuracies in wording for CMP0128 08 November 2021, 20:37:09 UTC
2b9b642 Merge topic 'vs-framework-version' into release-3.22 d51246c662 VS: Default TargetFrameworkVersion to v4.7.2 for VS 2022 f97f8537f3 VS: Model a default target framework e40cedddc0 cmVisualStudio10TargetGenerator: Refactor target framework selection 78782cc7dc cmGlobalVisualStudio8Generator: Refactor SetGeneratorPlatform Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6699 08 November 2021, 17:38:47 UTC
5f21525 Merge topic 'doc-CUDA_STANDARD' into release-3.22 84667a6f3c Help: Clarify valid versus supported values for CUDA_STANDARD Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6707 08 November 2021, 17:36:36 UTC
2445509 PCH: Fixed Ninja Multi-Config and REUSE_FROM for MSVC The copy_idb_pdb.cmake script would be executed for every configuration for all configurations. Debug would still want to get the RelWithDebInfo files, and the other way around. 08 November 2021, 17:16:36 UTC
95fa27d PCH: Fix REUSE_FROM when Debug and RelWithDebInfo configs differ If the Debug configuration contains `/ZI` but the RelWithDebInfo doesn't then the copy_pdb_idb.cmake script will cause problems due to the fact that it was common for both configurations but they are incompatible with each other. 08 November 2021, 15:51:18 UTC
e131e31 Merge topic 'doc-PKG_CONFIG_ARGN' into release-3.22 76c0281421 Help: Clarify how PKG_CONFIG env var initializes cache vars Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6706 08 November 2021, 09:30:07 UTC
84667a6 Help: Clarify valid versus supported values for CUDA_STANDARD CMake 3.18 added the first support for any compiler for 17 and 20, but those were recognized as valid values in earlier CMake versions even though there was no compiler that supported them. Make this distinction clear to avoid creating the impression that these standards could be usefully used before CMake 3.18. While 98 is recognized as a valid value, it also just gets treated as 03 internally. Document this behavior as well. Fixes: #22711 07 November 2021, 21:17:04 UTC
76c0281 Help: Clarify how PKG_CONFIG env var initializes cache vars Fixes: #22870 07 November 2021, 05:09:42 UTC
d51246c VS: Default TargetFrameworkVersion to v4.7.2 for VS 2022 MSBuild defaults to v4.0 but VS 2022 does not install it anymore. Explicitly specify a newer framework version by default. Use a version that VS 2022 installs without selecting a separate component. Fixes: #22835 06 November 2021, 10:08:55 UTC
f97f853 VS: Model a default target framework Add fields to the VS generator to select a target framework. Migrate the existing default for VS 12 .NET CF for Windows CE. Report the values in `CMAKE_VS_*` variables and use them for the CSharp compiler id project too. Issue: #22849 06 November 2021, 10:08:54 UTC
e40cedd cmVisualStudio10TargetGenerator: Refactor target framework selection Split the selection from the generation of the resulting element(s). 06 November 2021, 10:08:48 UTC
ced697d Merge topic 'nmc-cross-config-target-deps' into release-3.22 95f44e00cd Ninja Multi-Config: Fix custom command target dependencies in cross-configs a883363935 Ninja Multi-Config: Fix internal cross-config target dependency ordering 16e24748c5 Ninja Multi-Config: Fix cross-config custom command dependency tracing Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6702 05 November 2021, 14:09:27 UTC
2bd4e48 Merge topic 'CheckLinkerFlag-policies' into release-3.22 58c8d649e1 CheckLinkerFlag: Set policies needed by the implementation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6701 05 November 2021, 14:07:57 UTC
58c8d64 CheckLinkerFlag: Set policies needed by the implementation The module was added in CMake 3.18 by commit af96c0f4fa (CheckLinkerFlag: Add module to check validity of linker flags, 2020-05-16, v3.18.0-rc1~103^2), but it is still possible for projects to use it without setting policies to the 3.18 version level. 04 November 2021, 18:01:09 UTC
95f44e0 Ninja Multi-Config: Fix custom command target dependencies in cross-configs Generator expressions in a non-cross custom command's `COMMAND` arguments are evaluated in the command config. Target-level dependencies implied by `TARGET_FILE` must therefore be cross dependencies. This is important to generate proper target-level dependencies on the cross-config build statements for the target to which the custom command is attached. Fixes: #22855 04 November 2021, 17:41:16 UTC
a883363 Ninja Multi-Config: Fix internal cross-config target dependency ordering In commit 7abc3d61ac (Ninja Multi-Config: Fix issue with framework dependencies and Autogen, 2020-02-13, v3.17.0-rc2~18^2) the `cmLinkItem` comparison operator was updated to order identical strings by the cross-config boolean. We need to order identical targets that way too in order to represent both a cross and non-cross dependency on the same target. Issue: #22855 04 November 2021, 17:41:13 UTC
16e2474 Ninja Multi-Config: Fix cross-config custom command dependency tracing Process `CMAKE_CROSS_CONFIGS` and friends to properly configure the generator for cross-config behavior before custom command dependency tracing. 04 November 2021, 16:23:35 UTC
fda9488 Merge branch 'release-3.21' into release-3.22 04 November 2021, 16:22:34 UTC
85771bb Merge topic 'doc-TARGET_RUNTIME_DLLS' into release-3.22 001870d451 Help: Clarify TARGET_RUNTIME_DLLS behavior on imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !6700 04 November 2021, 13:07:47 UTC
753d861 Merge topic 'FindHDF5-avoid-duplicate-library-entries' into release-3.22 247f1149e1 FindHDF5: clear language-specific libraries list before discovery f56963cf05 FindHDF5: clear library output variables at the top of the module Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6698 04 November 2021, 13:06:39 UTC
6f995f3 Merge topic 'msvc-cxx-modules-scanDependencies' into release-3.22 9ed1d7bee6 cmScanDepFormat: Accept P1689r4 files with version 1 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6696 04 November 2021, 13:05:39 UTC
274e3fb Merge topic 'FindHDF5-fix-windows-hl-implib-query' into release-3.22 6f830c5c38 FindHDF5: fix variable name when querying `hdf5_hl`'s implib Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6697 04 November 2021, 13:04:41 UTC
7456127 Merge topic 'GNUtoMS-vs2022' into release-3.22 571a795d2f GNUtoMS: Add search path for VS 2022 environment scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6695 04 November 2021, 13:03:22 UTC
b15ac64 Merge topic 'ninja-pdb-dir' into release-3.22 73b84db62d Ninja: Fix creation of Windows import library directory bd36735f65 cmNinjaTargetGenerator: Replace "their" with "there" in comment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6694 04 November 2021, 13:02:01 UTC
d18ba5b Merge branch 'doc-TARGET_RUNTIME_DLLS' into release-3.21 Merge-request: !6700 03 November 2021, 20:18:29 UTC
001870d Help: Clarify TARGET_RUNTIME_DLLS behavior on imported targets This generator expression does not report the locations of `.dll` files on imported targets with the `UNKNWON` type, since their `IMPORTED_LOCATION` refers to the import library and not the DLL. Fixes: #22845 03 November 2021, 20:17:17 UTC
78782cc cmGlobalVisualStudio8Generator: Refactor SetGeneratorPlatform Re-organize the method to make room for additional `CMAKE_GENERATOR_PLATFORM` processing. 03 November 2021, 19:06:25 UTC
247f114 FindHDF5: clear language-specific libraries list before discovery 03 November 2021, 17:24:30 UTC
f56963c FindHDF5: clear library output variables at the top of the module This avoids accumulation of `HDF5_LIBRARIES` results when calling `find_package(HDF5)` multiple times within a single scope. 03 November 2021, 17:05:18 UTC
6f830c5 FindHDF5: fix variable name when querying `hdf5_hl`'s implib Introduced in 4150048a3b (FindHDF5: unset some variables, 2017-07-24). 03 November 2021, 15:29:20 UTC
6202af6 Merge branch 'msvc-cxx-modules-scanDependencies' into release-3.21 Merge-request: !6696 03 November 2021, 14:51:37 UTC
9ed1d7b cmScanDepFormat: Accept P1689r4 files with version 1 VS 2022's `cl` 19.30 has a `-scanDependencies` option that produces the P1689r4 format. It reports the "version" field with value "1". 03 November 2021, 14:50:54 UTC
f06f74e Merge topic 'help_cmake_lang_extensions_default' into release-3.22 e9976c8827 Help: Better explain CMAKE_<LANG>_EXTENSIONS_DEFAULT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6686 03 November 2021, 14:39:04 UTC
28d6332 Merge topic 'nvhpc-isystem' into release-3.22 92624714c4 NVHPC: Support SYSTEM include directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6691 03 November 2021, 14:37:54 UTC
ac5932c Merge branch 'GNUtoMS-vs2022' into release-3.21 Merge-request: !6695 03 November 2021, 14:34:05 UTC
571a795 GNUtoMS: Add search path for VS 2022 environment scripts Extend the logic from commit 08c5b3eff0 (GNUtoMS: Add search path for VS 2019 environment scripts, 2020-01-09, v3.16.3~15^2) to consider VS 2022 paths too. Fixes: #22847 03 November 2021, 14:32:14 UTC
73b84db Ninja: Fix creation of Windows import library directory Call `EnsureParentDirectoryExists` with our internal representation of the path, not the representation quoted/encoded for Ninja. Fixes: #22841 03 November 2021, 14:08:48 UTC
bd36735 cmNinjaTargetGenerator: Replace "their" with "there" in comment 03 November 2021, 14:08:47 UTC
9262471 NVHPC: Support SYSTEM include directories Fixed #22834 02 November 2021, 18:33:18 UTC
e9976c8 Help: Better explain CMAKE_<LANG>_EXTENSIONS_DEFAULT Explain that this represents the compiler's default and mustn't be modified by the user. Clarify when it's used as the default. Additionally: * Add a reference to it in cmake-compile-features in text explaining the feature. * Add explanations for the default initialization by `CMAKE_<LANG>_EXTENSIONS_DEFAULT` to all `<LANG>_EXTENSIONS` pages and references to CMP0128. * Slightly reduce the wordiness of the default initialization explanations by removing an unnecessary "it is". Fixes #22828. 02 November 2021, 15:58:21 UTC
1cf99f6 Merge topic 'doc-cpackrpm-versionadded' into release-3.22 a7a499a459 Help: Add `versionadded` for `CPACK_RPM_REQUIRES_EXCLUDE_FROM` variable 3eefb78512 Help: Use lower-case names of sphinx directives Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6684 02 November 2021, 12:50:01 UTC
e7fa6d4 Merge topic 'FindMPI-pkg-config' into release-3.22 56d949f05f FindMPI: Fix finding PkgConfg for fallback Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6685 02 November 2021, 12:48:12 UTC
a7a499a Help: Add `versionadded` for `CPACK_RPM_REQUIRES_EXCLUDE_FROM` variable 01 November 2021, 13:20:20 UTC
3eefb78 Help: Use lower-case names of sphinx directives 01 November 2021, 13:20:20 UTC
7ad6c1a Merge topic 'envmod-test-modifying-existing' into release-3.22 9c4d6404eb Tests/Environment: also test modifying ambient values 7d52d48a32 cmCTestRunTest: get the default value from the environment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6682 01 November 2021, 13:08:10 UTC
56d949f FindMPI: Fix finding PkgConfg for fallback In commit 0723b2c935 (MPI: Add fallback detection code for MPI when cross compiling, 2021-09-17, v3.22.0-rc1~89^2) the FindPkgConfig module was included directly. This produces warnings like: The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (MPI). Use `find_package(PkgConfig)` instead, as other find modules do. Fixes: #22823 01 November 2021, 12:09:15 UTC
6b64cc1 Merge topic 'doc-vs-instance-ver' into release-3.22 0ad79f7ba8 Help: Fix versionadded for VS 15 2017 instance selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6681 29 October 2021, 15:52:08 UTC
9c4d640 Tests/Environment: also test modifying ambient values 29 October 2021, 14:54:02 UTC
7d52d48 cmCTestRunTest: get the default value from the environment This only works due to some assumptions about how the `ENVIRONMENT` property is processed. Comments have been added to notify anyone modifying the behavior about where to look. Fixes: #22819 29 October 2021, 14:54:02 UTC
0ad79f7 Help: Fix versionadded for VS 15 2017 instance selection Support for `CMAKE_GENERATOR_INSTANCE` was added in CMake 3.11, but the possibility was mentioned in a comment in older versions, so the wrong versionadded value was used in commit c43e845d09 (Help: Add `.. versionadded` directives to generator docs, 2020-11-11, v3.20.0-rc1~476^2). 29 October 2021, 13:47:01 UTC
4572c40 Merge topic 'msvc-c17' into release-3.22 c5cc4ddac4 MSVC: Add support for C17 6561b032bc MSVC: Tolerate c_std_17 and c_std_23 features on older compiler versions 22f804e0ec MSVC: Refactor C compile features table for C90, C99, and C11 Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6677 29 October 2021, 12:52:18 UTC
f594e32 Merge topic 'doc-configure_file-creates-directories' into release-3.22 fa47e9c8f9 Help: Document that configure_file can create directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6675 29 October 2021, 12:51:23 UTC
fa47e9c Help: Document that configure_file can create directories 28 October 2021, 16:48:25 UTC
c5cc4dd MSVC: Add support for C17 C17 support has been available in MSVC since VS 16.8. Fixes: #22816 28 October 2021, 16:27:00 UTC
6561b03 MSVC: Tolerate c_std_17 and c_std_23 features on older compiler versions MSVC `cl` versions prior to 19.27 had no `-std:c*` flags for C standards. List the `c_std_{17,23}` features anyway. This allows projects to at least attempt compilation with these compilers since they do not have any modes. 28 October 2021, 16:27:00 UTC
22f804e MSVC: Refactor C compile features table for C90, C99, and C11 The custom "no modes" `cmake_record_c_compile_features` implementation should only be used in `cl` versions prior to 19.27 because they had no `-std:c*` flags for C standards. For 19.27 we need a different custom implementation to account for partial C11 support. For 19.28 and above we can use the default implementation through the `*__HAS_FULL_SUPPORT` settings. We already use this pattern in the MSVC C++ compile feature table. 28 October 2021, 16:27:00 UTC
28a033c CMake 3.22.0-rc2 28 October 2021, 13:46:08 UTC
back to top