From ec36d7122f9516d21c9720fde4247dcf06c5a049 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sun, 23 Jun 2024 08:09:34 -0400 Subject: [PATCH] LibIDL: Depend on LibCoreMinimal instead of LibCore When any LibCore file (or any of its dependents) changes, we have to regenerate all IDL bindings. By depending on LibCoreMinimal, the number of impacting files greatly reduces. As an example, changing a .cpp file in LibUnicode would previously cause about 1800 ninja targets to rebuild. This is now reduced to about 200. --- Userland/Libraries/LibIDL/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibIDL/CMakeLists.txt b/Userland/Libraries/LibIDL/CMakeLists.txt index 93c73e86440..d5a5ec986f1 100644 --- a/Userland/Libraries/LibIDL/CMakeLists.txt +++ b/Userland/Libraries/LibIDL/CMakeLists.txt @@ -4,4 +4,4 @@ set(SOURCES ) serenity_lib(LibIDL idl) -target_link_libraries(LibIDL PRIVATE LibCore LibFileSystem) +target_link_libraries(LibIDL PRIVATE LibCoreMinimal LibFileSystem)