ladybird/Meta/gn
Andrew Kaster 4bfb146181 Meta: Add the start of a gn build based on the LLVM gn build
"based on" in this context means "largely copied from"
2023-07-09 16:22:58 -06:00
..
build Meta: Add the start of a gn build based on the LLVM gn build 2023-07-09 16:22:58 -06:00
secondary Meta: Add the start of a gn build based on the LLVM gn build 2023-07-09 16:22:58 -06:00
.gitignore Meta: Add the start of a gn build based on the LLVM gn build 2023-07-09 16:22:58 -06:00
README.md Meta: Add the start of a gn build based on the LLVM gn build 2023-07-09 16:22:58 -06:00

gn build for SerenityOS and Ladybird

Warning The GN build is experimental and best-effort. It might not work, and if you use it you're expected to feel comfortable to unbreak it if necessary. Serenity's official build system is CMake, if in doubt use that. If you add files, you're expected to update the CMake build but you don't need to update GN build files. Reviewers should not ask authors to update GN build files. Keeping the GN build files up-to-date is on the people who use the GN build.

GN is a metabuild system. It always creates ninja files, but it can create some IDE projects (MSVC, Xcode, ...) which then shell out to ninja for the actual build.

This is a good overview of GN.

For more information, motivation, philosophy, and inspriation, see the LLVM documentation on its GN build