CMake官方文档学习

根据官方文档学习CMake,由于对linux,Vscode,C++均不熟练,多阅读一些文档,有助于帮助理解这几个东西都干了什么

CMake Tools fro Visual studio Code documention

https://github.com/microsoft/vscode-cmake-tools/blob/develop/docs/README.md

分成

How to (create a new project, configure, build a project,debug a new project, pass command-line arguments to the debugger,)

Kits(how kits are found and defined, Kit options)

Configure(Cmake configuration process overview, the cmake tools configure step, the configure step outside of Cmake tools, clean configure)

variants(varinats yaml example, schema, settings, options, how variants are applied, large variant file example)

build(build the default target, build a single target, how cmake tools builds your project, clean child)

debug and launch(select a launch target, quick debugging, debug using a launch.json file, run without debugging)

configure cmake tools settings(cmake tools settings, variable substitution)

troubleshoot cmake tools

frequently asked questions

主要就是前面的这些,开始创建一个project,配置configure,编译build,找bug debug, pass command-line to debug,下面就是这些功能的详细部分。

 

上一篇:【庖丁解牛】configure: error: Please reinstall the libzip distribution


下一篇:build httpd 报警 configure: WARNING: Your APR does not include SSL/EVP support. To enable it: configur