Bug 260218
Summary: | [CMake] Generate a usable compile_commands.json | ||
---|---|---|---|
Product: | WebKit | Reporter: | Patrick Griffis <pgriffis> |
Component: | CMake | Assignee: | Patrick Griffis <pgriffis> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | Hironori.Fujii |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=260769 https://bugs.webkit.org/show_bug.cgi?id=260841 |
Patrick Griffis
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Patrick Griffis
Pull request: https://github.com/WebKit/WebKit/pull/16718
EWS
Committed 266947@main (5c9dd47913bc): <https://commits.webkit.org/266947@main>
Reviewed commits have been landed. Closing PR #16718 and removing active labels.
Fujii Hironori
rewrite-compile-commands outputs annoying messages.
Filed: Bug 260841 – [CMake] rewrite-compile-commands reports a lot of warning messages "Failed to find ..."