[PATCH] build: Add simple compile_commands.json generation
Jouni Malinen
j at w1.fi
Sat Aug 3 10:35:55 PDT 2024
On Wed, May 08, 2024 at 12:56:10PM +0200, benjamin at sipsolutions.net wrote:
> This can be used with a clangd server to get code completion and cross
> references in editor. To simplify the generation, create .cmd files for
> most object files while building that contains the base directory and
> command that was used when compiling it.
>
> A very simple gen_compile_commands.py is provided which will read one or
> more build directories and generate the compile_commands.json file for
> it.
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list