从Makefile创建compile_commands.json

操作步骤

# https://github.com/nickdiego/compiledb
pip install compiledb

使用方法:

compiledb make



Enjoy Reading This Article?

Here are some more articles you might like to read next: