Clerc is a simple utility for Please build system which extracts the compilation database (compile_commands.json
) for the LSP tools
like ccls
and clangd
.
This tools is very much in development, PRs and improvement ideas are welcome.
The compilation database can be used for various tools, most notably for the LSPs like clangd
to provide accurate information to the editor.
For detailed description have read through the Resources.
clerc //dir/target:cc_target > compile_commands.json