blade Support generating compdb
XlousZ opened this issue · 4 comments
XlousZ commented
I see generating compdb in blade-build
0x804d8000 commented
I’m not clear about what you’re asking or proposing, mind to elaborate more?
XlousZ commented
I want to generate compile_commands.json
, so i can generate accurate C++ indexes by clangd
0x804d8000 commented
I think it's already supported by blade
, e.g.:
./blade dump --compdb --to-file output.json ...
You may refer to manual of blade
for more details.
XlousZ commented
I think it's already supported by
blade
, e.g.:./blade dump --compdb --to-file output.json ...You may refer to manual of
blade
for more details.
Thanks! I try ./blade dump --compdb --to-file output.json
, and successfuly generate compile_commands.json
After carefully reading, i noted The options supported by different subcommands are different. Please run blade <subcommand> --help to view
in manual of blade