手机版
你好,游客 登录 注册
背景:
阅读新闻

CMake 3.4.0 发布下载,自动化建构系统

[日期:2015-11-13] 来源:oschina.net  作者:Linux [字体:大 中 小]

CMake 3.4.0 发布下载,该版本增加新的测试操作器用于 if() 命令,主要更新内容如下:

* The "if()" command learned a new "TEST" operator that evaluates to
  true if a given test name has been defined by the "add_test()"
  command.  See policy "CMP0064".

* The "install(DIRECTORY)" command "DESTINATION" option learned to
  support "generator expressions".

* The "install(FILES)" command "DESTINATION" option learned to
  support "generator expressions".

* CMake learned to honor "*.manifest" source files with MSVC tools.
  Manifest files named as sources of ".exe" and ".dll" targets will be
  merged with linker-generated manifests and embedded in the binary.

弃用的特性

* The "CMakeExpandImportedTargets" module is now documented as
  deprecated.  See module documentation for an explanation.

* The "CMAKE_USE_RELATIVE_PATHS" variable no longer has any effect.
  Previously it was partially implemented and unreliable.

更多内容请看:KitWare blog

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

Ubuntu 12.04利用CMake-2.8.10.4编译OpenCV-2.4.4 http://www.linuxidc.com/Linux/2014-04/100113.htm

CMake并没有想象中好用 http://www.linuxidc.com/Linux/2014-03/98799.htm

CMake快速使用教程  http://www.linuxidc.com/Linux/2015-10/124447.htm

CMake 设置交叉编译环境 http://www.linuxidc.com/Linux/2014-03/98622.htm

MySQL编译安装 之 CMake http://www.linuxidc.com/Linux/2013-09/90113.htm

基于CMake编译安装MySQL 5.5  http://www.linuxidc.com/Linux/2013-04/83579.htm

CMake 的详细介绍:请点这里
CMake 的下载地址:请点这里

本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-11/125131.htm

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款