Lagom: Build a tiny slice of LibGUI

We now build Model, ModelIndex and Icon from LibGUI. These will be used
in Ladybird to view the DOM tree model.
This commit is contained in:
Andreas Kling 2022-09-25 12:09:36 +02:00
parent f36cbd3b65
commit 5778da765d
Notes: sideshowbarker 2024-07-17 06:39:12 +09:00

View file

@ -397,6 +397,14 @@ if (BUILD_LAGOM)
SOURCES ${LIBGL_SOURCES} ${LIBGL_TEX_SOURCES}
LIBS m LibGfx LibGPU)
# GUI
list(APPEND LIBGUI_SOURCES "../../Userland/Libraries/LibGUI/ModelIndex.cpp")
list(APPEND LIBGUI_SOURCES "../../Userland/Libraries/LibGUI/Model.cpp")
list(APPEND LIBGUI_SOURCES "../../Userland/Libraries/LibGUI/Icon.cpp")
lagom_lib(GUI gui
SOURCES ${LIBGUI_SOURCES}
LIBS LibGfx)
# GUI-GML
file(GLOB LIBGUI_GML_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGUI/GML/*.cpp")
list(REMOVE_ITEM LIBGUI_GML_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../../Userland/Libraries/LibGUI/GML/AutocompleteProvider.cpp")