mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Meta: Automatically generate a compilation database for clangd
This is similar to how we set CMAKE_EXPORT_COMPILE_COMMANDS in the CMake build. This adds about 5-10ms to a clean `gn gen` on my machine.
This commit is contained in:
parent
665a95e39e
commit
411f5af0b8
Notes:
sideshowbarker
2024-07-17 07:06:47 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/411f5af0b8 Pull-request: https://github.com/SerenityOS/serenity/pull/21937 Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 1 additions and 0 deletions
1
.gn
1
.gn
|
@ -1,4 +1,5 @@
|
|||
buildconfig = "//Meta/gn/build/BUILDCONFIG.gn"
|
||||
exec_script_whitelist = []
|
||||
export_compile_commands = [ ":*" ]
|
||||
script_executable = "python3"
|
||||
secondary_source = "//Meta/gn/secondary/"
|
||||
|
|
Loading…
Reference in a new issue