-
cmake
- 最简单的 cMakeLists.txt
- 编译根目录下多个文件
- 编译多个目录下文件
- 编译多个目录下文件,生成链接库
- cmake 时生成 .h 头文件
- PROJECT_SOURCE_DIR 和 PROJECT_BINARY_DIR 的区别
- INSTALL 命令的使用
- TEST 的使用
- 使用宏简化 TEST 配置代码
- CheckFunctionExists 检测系统是否支持某函数
- cpack 生成包
tips: 在根目录运行
cmake .之后会生成一堆make相关的文件,怎么清理? aha 俺不知道...但是,可以在生成之前 在根目录创建一个子文件夹 用于存放生成的文件. eg:
$ mkdir build $ cd build $ cmake .. $ make这样生成的相关文件会在 build 子目录.
-
go
-
php
-
php-github-practice
-
rust
-
Notifications
You must be signed in to change notification settings - Fork 0
blundering/practice
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
用过(学过)的东西老忘,留一份代码试试能不能帮助快速回忆起
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published