CMake 3.21 Release Notes

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

  • The cmake-file-api(7) "codemodel" version 2 version field has been updated to 2.3.

  • The cmake-file-api(7) "codemodel" version 2 gained a new "directory" object containing directory-level information. This includes a list of installers generated by the install() command.

Commands