标签:root pat pre san color code span sts 文件
目录结构
root -|
|--**.cpp
|--CmakeList.txt
|--current path
|--(执行cmake ../)
|-- (执行make的目录)
步骤:
1 编写
CmakeLists.txt
2 [current path]$cmake path 【CmakeLists.txt文件所在的目录】
Cmd:
$ hello $ cd hello/build/ $ ls $ cmake ..
3 [current path] make
4 执行
标签:root pat pre san color code span sts 文件
原文地址:https://www.cnblogs.com/xiaoniu-666/p/11797533.html