A new version of the popular build system CMake 3.16.0 has been released along with the associated utilities CTest and CPack, which simplify testing and package building, respectively.
Key Changes:
CMake now supports Objective-C and Objective-C++. Support is enabled by adding OBJC and OBJCXX to project() or enable_languages(). Consequently, *.m and *.mm files will be compiled as Objective-C or C++, otherwise, they will still be treated as C++ source files as before.
-
A target property has been added. UNITY_BUILD, indicating to generators to merge source files for faster builds.
The find_*() commands now support new variables that control the search.
The file() command can now recursively output a list of libraries linked to a library or executable using the GET_RUNTIME_DEPENDENCIES subcommand. This subcommand replaces GetPrerequisites().
CMake now has built-in true and false commands that can be called via cmake -E, and the --loglevel option is now deprecated and will be renamed to --log-level.
Source: linux.org.ru
