摘要: 普通多目录 源码 .. ├── build ├── CMakeLists.txt ├── main.c └── math ├── CMakeLists.txt ├── math_add.c ├── math.h └── math_sub.c 2 directories, 6 files // mat 阅读全文
posted @ 2021-10-30 22:41 flxx 阅读(1156) 评论(0) 推荐(0) 编辑
摘要: 单文件 1.1 源码: . ├── build ├── CMakeLists.txt └── main.c 1 directory, 2 files // main.c #include <stdio.h> int main(int argc, char **argv){ printf("Hello 阅读全文
posted @ 2021-10-30 17:31 flxx 阅读(112) 评论(0) 推荐(0) 编辑
摘要: CMake是什么? cmake是跨平台的工程组织工具,非程序员不需要使用。 同类工具包括,qmake,autotool,vs等 CMake有什么用? 软件工程的组织方案。(个文件工程感觉可忽略cmake。。。) 软件工程的编译与安装方案。 成功使用案例。。。 KDE github很多开源软件 安装C 阅读全文
posted @ 2021-10-30 15:50 flxx 阅读(52) 评论(0) 推荐(0) 编辑