Release of CMake 3.23 build system

The release of CMake 3.23, a cross-platform open source build script generator, which acts as an alternative to Autotools and is used in projects such as KDE, LLVM/Clang, MySQL, MariaDB, ReactOS and Blender. The CMake code is written in C++ and distributed under the BSD license.

CMake is notable for providing a simple scripting language, extending functionality through modules, caching support, cross-compilation tools, support for generating build files for a wide range of build systems and compilers, ctest and cpack utilities for defining test scripts and package builds, cmake utility -gui to interactively set build options.

Main improvements:

  • An optional "include" field has been added to the "cmake-presets" files, with which you can substitute the contents of other files in place.
  • Build script generators for Visual Studio 2019 and newer have added support for .NET SDK csproj files for C# projects.
  • Added support for the IBM Open XL C/C++ compiler based on LLVM. The compiler is available under the identifier IBMClang.
  • Added support for MCST LCC compiler (developed for Elbrus and SPARC processors (MCST-R)). The compiler is available under the identifier LCC.
  • A new argument "FILE_SET" has been added to the "install(TARGETS)" command, which can be used to install a set of header files associated with the selected target platform.
  • FILE_SET mode has been added to the target_sources() command, with which you can add a set with a certain type of files with code, for example, with header files.
  • Support for "all" and "all-major" values ​​for CUDA toolkit 7.0+ has been added to the "CMAKE_CUDA_ARCHITECTURES" variable and the "CUDA_ARCHITECTURES" target platform property.

Source: opennet.ru

Add a comment