CMake 3.14.4 发布了,CMake 是一个跨平台的自动化构建系统,它使用一个名为 CMakeLists.txt 的文件来描述构建过程,可以产生标准的构建文件,如 Unix 的 Makefile 或Windows Visual C++ 的 projects/workspaces 。文件 CMakeLists.txt 需要手工编写,也可以通过编写脚本进行半自动的生成。
该版本主要改进内容包括:
- 增加
Visual Studio 16 2019
代码生成器,该版本基于 “Visual Studio 2019 Preview 4” 开发 - 更新了
Green Hills MULTI
生成器- Now supports Object Libraries.
- Now warns on unsupported project types such as shared libraries.
- Now generates a top-level
<PROJECT-NAME>.top.gpj
for each directory calling theproject()
command. The top-level project filedefault.gpj
is no longer created. - Now honors target renaming and destination output control properties such as
RUNTIME_OUTPUT_DIRECTORY
andOUTPUT_NAME
. This also fixes support for installation rules generated byinstall()
. - Now honors source file properties
INCLUDE_DIRECTORIES
,COMPILE_DEFINITIONS
, andCOMPILE_OPTIONS
. - Now supports Dynamic Download Integrity Applications which did not include Integrate Files via
GHS_INTEGRITY_APP
and setting a target link flag of-dynamic
. - The contents of project files now sorts sources groups and files by name. Set the
GHS_NO_SOURCE_GROUP_FILE
target property toON
to generate a single project file for the target instead of a project file for each source group. Set theCMAKE_GHS_NO_SOURCE_GROUP_FILE
variable to enable this for all targets.
转自 https://www.oschina.net/news/106715/cmake-3-14-4-released