Files
cpp-book/src/cmake/about-camke.md
2024-02-05 23:09:03 +08:00

6 lines
375 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# CMake 配置
CMake 是一个跨平台的开源构建工具,用于编译生成 makefile可以简化手写 makedile 的巨大工作量。CMake 通过编写`CMakeLists.txt`文件进行配置,其中内容不区分大小写。
使用 CMake 配置的项目,可以先执行`cmake`命令编译 makefile然后再执行`make`命令使用 makefile 完成项目编译。