Skip to content

CMake 学习资料,笔记以及自己的一些分享。

eglinuxer/study_cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

study_cmake

CMake 已经来到了 4.0 时代,让我们重学 CMake 吧!

开始使用 CMake

在这个部分,主要展示一些常用的 cmake 命令。

cmake

  • 配置和构建项目

    # 先进入项目顶级目录
    cmake -S <source tree> -B <build tree>
    cmake --build <build tree>
    • -S 指定源码目录
    • -B 指定构建目录

ctest

cpack

CMake 基础语法

CMake 进阶

About

CMake 学习资料,笔记以及自己的一些分享。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published