Skip to content

Latest commit

 

History

History
343 lines (240 loc) · 12.5 KB

3.21.rst

File metadata and controls

343 lines (240 loc) · 12.5 KB

CMake 3.21 Release Notes

.. only:: html

  .. contents::

Changes made since CMake 3.20 include the following.

New Features

Presets

Generators

Languages

Command-Line

Compilers

  • The Fujitsu compiler is now supported using compiler id Fujitsu in traditional (Trad) mode, and compiler id FujitsuClang in Clang mode.

Platforms

  • CMake now supports the MSYS runtime environment, much like CYGWIN.

File-Based API

Commands

Variables

Properties

Modules

Generator Expressions

CTest

CPack

Deprecated and Removed Features

Other Changes

Updates

Changes made since CMake 3.21.0 include the following.

3.21.1

3.21.2

3.21.3

  • The :generator:`Visual Studio 17 2022` generator is now based on "Visual Studio 2022 Preview 4". Previously it was based on "Preview 3.1".
  • The AMD ROCm Platform hipcc compiler was identifed by CMake 3.21.0 through 3.21.2 as a distinct compiler with id ROCMClang. This has been removed because it caused regressions. Instead:
    • hipcc may no longer be used as a HIP compiler because it interferes with flags CMake needs to pass to Clang. Use Clang directly.
    • hipcc may once again be used as a CXX compiler, and is treated as whatever compiler it selects underneath, as CMake 3.20 and below did.

3.21.4

3.21.5, 3.21.6, 3.21.7

These versions made no changes to documented features or interfaces. Some implementation updates were made to support ecosystem changes and/or fix regressions.