CMake 3.11.2 发布,自动化构建系统

  

CMake 3.11.2 已发布,CMake 是一个跨平台的自动化建构系统,它使用一个名为 CMakeLists.txt 的文件来描述构建过程,可以产生标准的构建文件,如 Unix 的 Makefile 或Windows Visual C++ 的 projects/workspaces 。文件 CMakeLists.txt 需要手工编写,也可以通过编写脚本进行半自动的生成。CMake 提供了比 autoconfig 更简洁的语法。

主要更新内容:

  • Ninja: Do not add empty custom command for file(GENERATE) outputs

  • C++ feature checks: Filter out warnings caused by local configuration

  • libuv: linux/sparc64: use fcntl to set and clear O_NONBLOCK

  • FindCUDA: Fix regression in separable compilation without cublas

  • FindBoost: Remove extra indentation in 1.65/1.66 dependency block

  • add_library: Restore error on alias of non-global imported target

  • add_custom_{command,target}: Fix crash on empty expanded command

更多内容

下载地址:

猜你喜欢

转载自www.oschina.net/news/96185/cmake-3-11-2-released