为 rt-thread 生成 compile_commands.json

方法如下 打开 SConstruct 文件,添加如下内容12env.Tool("compilation_db")env.CompilationDatabase() 如图 image.png

发布于 工具使用