Open utterances-bot opened 1 year ago
compile_commands.json 文件能够有效提高一些工具(比如说ccls1, vscode2)的代码跳转、补全等功能。 因此,本文将会说明如何生成 compile_commands.json 文件,特别是使用 makefile 的老工程。
https://edward852.github.io/post/%E7%94%9F%E6%88%90compile_commands.json%E6%96%87%E4%BB%B6/
厉害了!
cmake 可以直接生成呀,太棒了!
新版的bear好像是改了的,bear -- make,需要在编译指令前加上--
bear -- make
--
生成compile_commands.json文件 - 时聆心语
compile_commands.json 文件能够有效提高一些工具(比如说ccls1, vscode2)的代码跳转、补全等功能。 因此,本文将会说明如何生成 compile_commands.json 文件,特别是使用 makefile 的老工程。
https://edward852.github.io/post/%E7%94%9F%E6%88%90compile_commands.json%E6%96%87%E4%BB%B6/