CMake 3.2.2 发布,此版本现已提供下载:http://www.cmake.org/download/。
CMake 3.2.2 相比上一版本 3.2.1 的改进如下:
Betsy McPhail (1): file(LOCK): Close file descriptor/handle when releasing a lock
Brad King (8): FindMFC: Use if(DEFINED) to simplify condition (#15477) curl: Never consider using Windows APIs on Cygwin liblzma: Use unaligned access only on Intel and PowerPC archs liblzma: Disable XL compiler optimizations liblzma: Disable GNU 3.3 compiler optimizations KWSys SystemTools: Teach Touch with !create to succeed on missing file Makefile: Fix multiple custom command outputs with one missing CMake 3.2.2
Tim Kientzle (1): libarchive: Fix string concatentation in Windows mktemp implementation
CMake 是一个跨平台的自动化建构系统,它使用一个名为 CMakeLists.txt 的文件来描述构建过程,可以产生标准的构建文件,如
Unix 的 Makefile 或Windows Visual C++ 的 projects/workspaces 。文件
CMakeLists.txt 需要手工编写,也可以通过编写脚本进行半自动的生成。CMake 提供了比 autoconfig 更简洁的语法。在
linux 平台下使用 CMake 生成 Makefile 并编译的流程如下: 编写 CmakeLists.txt 。
执行命令 “ cmake PATH ” 或者 “ ccmake PATH ” 生成 Makefile ( PATH 是 CMakeLists.txt 所在的目录 ) 。
使用 make 命令进行编译。
|