RESOLVED FIXED 260218
[CMake] Generate a usable compile_commands.json
https://bugs.webkit.org/show_bug.cgi?id=260218
Summary [CMake] Generate a usable compile_commands.json
Patrick Griffis
Reported 2023-08-15 13:14:06 PDT
When using unified builds CMake generates a compile_commands.json that isn't useful by many tools as it lacks much of the sources. This adds a script to expand UnifiedSources into the full list of sources. It outputs it to webkit_compile_commands.json.
Attachments
Patrick Griffis
Comment 1 2023-08-15 13:14:52 PDT
EWS
Comment 2 2023-08-16 08:23:59 PDT
Committed 266947@main (5c9dd47913bc): <https://commits.webkit.org/266947@main> Reviewed commits have been landed. Closing PR #16718 and removing active labels.
Fujii Hironori
Comment 3 2023-08-28 21:26:09 PDT
rewrite-compile-commands outputs annoying messages. Filed: Bug 260841 – [CMake] rewrite-compile-commands reports a lot of warning messages "Failed to find ..."
Note You need to log in before you can comment on or make changes to this bug.