目录
第二部分:实用 CMake (Practical CMake – Getting Your Hands Dirty with CMake)
2.0 第二部分概括及章节内容(Part II Summary and Chapter Contents)
2.1 打包、部署和安装 CMake 项目(Packaging, Deploying, and Installing a CMake Project)
2.1.1 本章介绍(Introduction to this chapter)
2.1.2 使 CMake 目标可安装(Making CMake targets installable)
2.1.3 安装文件和目录(Installing files and directories)
2.1.4 install() 命令的其他常用参数(Other common parameters of the install() command)
2.1.5 提供配置信息使其他人使用您的项目(Supplying configuration information for others using your project)
2.1.6 使用 CPack 创建可安装包(Creating an installable package with CPack)
2.1.7 总结及问题(Summary and Questions)
第二部分:实用 CMake (Practical CMake – Getting Your Hands Dirty with CMake)
2.0 第二部分概括及章节内容(Part II Summary and Chapter Contents)
1.引言
在这一部分中,您将能够以适合绝大多数用例的方式使用 CMake 设置软件项目。第 4 章和第 5 章将介绍安装和打包项目、依赖管理以及包管理器的使用等方面。第 6、7 和 8 章将介绍将外部工具集成到 CMake 项目中以创建文档、确保代码质量或执行构建软件所需的几乎任何任意任务。第 9 章和第 10 章将介绍为构建项目创建可重用的环境,以及处理来自分布式存储库的大项目。最后,第 11 章将向您展示如何使用 CMake 进行模糊测试。
2.章节内容
• 第 4 章,打包、部署和安装 CMake 项目
• 第 5 章,集成第三方库和依赖管理
• 第 6 章,自动生成文档
• 第 7 章,将代码质量工具与 CMake 无缝集成
• 第 8 章,使用 CMake 执行自定义任务
• 第 9 章,创建可重现的构建环境
• 第 10 章,在超级构建中处理大