mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 01:09:25 +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:
1
.gn
1
.gn
@@ -1,4 +1,5 @@
|
|||||||
buildconfig = "//Meta/gn/build/BUILDCONFIG.gn"
|
buildconfig = "//Meta/gn/build/BUILDCONFIG.gn"
|
||||||
exec_script_whitelist = []
|
exec_script_whitelist = []
|
||||||
|
export_compile_commands = [ ":*" ]
|
||||||
script_executable = "python3"
|
script_executable = "python3"
|
||||||
secondary_source = "//Meta/gn/secondary/"
|
secondary_source = "//Meta/gn/secondary/"
|
||||||
|
|||||||
Reference in New Issue
Block a user