# cmake-project-2024 **Repository Path**: aronic/cmake-project-2024 ## Basic Information - **Project Name**: cmake-project-2024 - **Description**: CMake sample project of 2024. - **Primary Language**: C++ - **License**: MulanPSL-1.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-02-27 - **Last Updated**: 2025-03-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CMake Project Sample 2024 ## 如何使用 ### 1. 下载源代码 ```bash $ git clone https://gitee.com/aronic/cmake-project-2024.git $ code cmake-project-2024 ``` ### 2. 打开`dev container` 1. 打开VS Code的命令面板(Ctrl+Shift+P) 2. 搜索"Dev Containers: Reopen in Container" 3. 选择"Dev Containers: Reopen in Container". 4. 等待 VS code 准备好容器内的插件 ### 3. 配置 1. 打开VS Code的命令面板(Ctrl+Shift+P) 2. 搜索"CMake: Select Build Preset" 3. 选择: "linux-base-build" ## 相关教程 1. [VS Code Dev Containers 教程: 从基础到进阶配置](https://www.arong-xu.com/posts/vscode-dev-containers-complete-guide/) 2. [Dockerfile for C++ Dev Containers](https://www.arong-xu.com/posts/cpp-dev-container-complete-guide/) 3. [Vcpkg 使用全攻略: 支持 VS Code, Visual Studio 和 CLion](https://www.arong-xu.com/posts/cpp-package-management-vcpkg-from-zero-to-hero/) 4. [CMake 入门教程: 从基础到实践](https://www.arong-xu.com/cmake-column/hands-on-cmake/)