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
for each directory calling the project()
command. The top-level project file default.gpj
is no longer created.
Now honors target renaming and destination output control properties such as RUNTIME_OUTPUT_DIRECTORY
and OUTPUT_NAME
. This also fixes support for installation rules generated by install()
.
Now honors source file properties INCLUDE_DIRECTORIES
, COMPILE_DEFINITIONS
, and COMPILE_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 to ON
to generate a single project file for the target instead of a project file for each source group. Set the CMAKE_GHS_NO_SOURCE_GROUP_FILE
variable to enable this for all targets.
[admin
]