![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Cmake
文章平均质量分 86
泽箬酱咧
杭州体面厂一枚嵌入式软件工程师,额外懂点前端和移动端技术栈。
展开
-
cmake基础教程——02 B-hello-cmake
一、项目构成目录.├── CMakeLists.txt├── include│ └── Hello.h└── src├── Hello.cpp└── main.cppinclude//Hello.h#ifndef __HELLO_H__#define __HELLO_H__class Hello{public: void print();};#endifsrc//1.Hello.cpp#include <iostream>#inc原创 2021-10-24 10:44:37 · 534 阅读 · 0 评论 -
cmake基础教程——01 A-hello-cmake
一、 A-hello-camke项目构成1 C++项目main.cpp#include <iostream>int main(int argc, char *argv[]){ std::cout << "Hello CMake!" << std::endl; return 0;}2 CMakeLists.txt#设置可用于查找CMake版本运行的CMake的最低版本cmake_minimum_required(VERSION 3.5)原创 2021-10-24 09:50:38 · 161 阅读 · 0 评论