https://github.com/1010code/cmake-tutorial
CMake tutorial
https://github.com/1010code/cmake-tutorial
Last synced: 16 days ago
JSON representation
CMake tutorial
- Host: GitHub
- URL: https://github.com/1010code/cmake-tutorial
- Owner: 1010code
- Created: 2022-09-10T01:59:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T09:17:25.000Z (almost 2 years ago)
- Last Synced: 2025-04-05T04:20:05.320Z (10 months ago)
- Language: CMake
- Size: 67.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## CMake tutorial
cmake 是一個高級編譯配置工具,簡單來說 cmake 就是生成 Makefile 的工具。使用的時機是當專案變得非常複雜有非常多的相依程式,可以透過 cmake 幫助快速輸出一個可執行文件或者共享庫(dll,so等等)。官方網站是 [www.cmake.org](http://www.cmake.org/),可以透過官方網站獲得更多關於 cmake 的訊息。
## 文章列表
| 文章 | 程式碼 |
|------|--------|
| [ch1 第一隻 CMake 程式](./ch1-first-cmake.md) | [Code](./ch1) |
| [ch2 讓讓專案看起來更像一個工程](./ch2-make-prokect-pro.md) | [Code](./ch2) |
| [ch3 靜態庫和動態庫的構建](./ch3-make-library.md) | [Code](./ch3) |
| [ch4 使用外部共享庫和標頭檔](./ch4-include-share-lib.md) | [Code](./ch4) |
## Reference
- [從零開始詳細介紹CMake](https://www.bilibili.com/video/BV1vR4y1u77h/?p=4&spm_id_from=pageDriver&vd_source=5a6b197f885be2e93405a9e839601280)
- [learning-cmake](https://github.com/Akagi201/learning-cmake)
- [軟件構建: CMake 快速入門](https://www.bilibili.com/video/BV1rR4y1E7n9/?spm_id_from=autoNext&vd_source=5a6b197f885be2e93405a9e839601280)
- [建構屬於自己的C/C++專案 : 我的30天CMake學習之旅系列](https://ithelp.ithome.com.tw/users/20162026/ironman/6715)
- [30 天 CMake 跨平台之旅](https://ithelp.ithome.com.tw/users/20161950/ironman/6278)