【Linux开发】关于Cmake

1、参考教程:

CMake 入门实战:https://www.hahack.com/codes/cmake/

在linux下使用CMake构建应用程序:https://www.ibm.com/developerworks/cn/linux/l-cn-cmake/

cmake与autoconf+automake的对比:https://blog.csdn.net/cnsword/article/details/7542696

 

2、使用实例:

https://cmake.org/cmake-tutorial/(中文翻译版本:https://www.jianshu.com/p/3078a4a195df

 

3、CMake Practice(strongly recommended):

http://file.ncnynl.com/ros/CMake%20Practice.pdf(中文版)

 

CMake是一款工程构建工具,和autotools工具集相比,有更多的优点,跨平台,步骤精简等。通俗地举例说,在Linux系统下进行工程开发,只需要编写一些CMakeLists.txt文件,CMake就可以自动生成Makefile文件,不需要自己纠结Makefile的编写,所有源码文件、库文件、头文件的关系以及软件的编译、安装、打包工作都会被CMake管理好。

猜你喜欢

转载自blog.csdn.net/tq384998430/article/details/100662095