From 02874de71d372a38e0060e8f69a97200524c39ff Mon Sep 17 00:00:00 2001 From: harrisonhu66 Date: Fri, 18 Jul 2025 18:11:31 +0800 Subject: [PATCH] Update CMake.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 最近读的CMake好书,想分享一下 --- docs/必学工具/CMake.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/必学工具/CMake.md b/docs/必学工具/CMake.md index 52ba43ec..cbdb5d86 100644 --- a/docs/必学工具/CMake.md +++ b/docs/必学工具/CMake.md @@ -7,3 +7,6 @@ CMake 是类似于 GNU make 的跨平台自动软件构建工具,使用 CMakeL ## 如何学习 CMake `CMakeLists.txt` 比 `Makefile` 更为抽象,理解和使用难度也更大。现阶段很多 IDE (如 Visual Studio, CLion) 提供了自动生成 `CMakeLists.txt` 的功能,但掌握 `CMakeLists.txt` 的基本用法仍然很有必要。除了 [CMake 官方 Tutorial](https://cmake.org/cmake/help/latest/guide/tutorial/index.html) 外,上海交通大学 IPADS 组新人培训也提供了[大约一小时的视频教程](https://www.bilibili.com/video/BV14h41187FZ)。 + +**偏好更系统的学习** +[Modern CMake for C++: Discover a better approach to building, testing, and packaging your software](https://www.amazon.com/Modern-CMake-Discover-approach-packaging/dp/1801070059)系统的介绍了软件构建,还提供软件构建各个方面的深入阅读材料.