[riot-notifications] [RIOT-OS/RIOT] build system: add compile-commands target to generate compile_commands.json (#16129)

Marian Buschsieweke notifications at github.com
Thu Apr 8 21:30:59 CEST 2021


The last updated changes the following:

- with `--clangd`, the python script used `clang` / `clang++` for `$CC` / `$CXX` instead of the original value
- with `--clangd`, the `-target <ARCH_TRIPLE>` is added to the compiler flags
- the compilation details are now dumped into a single text file with a simple `<KEY>: <VALUE>\n` syntax. This should ease debugging / reading the raw dump a bit

It is still minimally invasive into the build system, so it should be IMO possible to get this in even during soft feature freeze.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16129#issuecomment-816098332
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210408/df9da112/attachment-0001.htm>


More information about the notifications mailing list