mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
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:
parent
f36cbd3b65
commit
5778da765d
1 changed files with 8 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue