Skip to content

Commit 5778da7

Browse files
committed
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.
1 parent f36cbd3 commit 5778da7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Meta/Lagom/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,14 @@ if (BUILD_LAGOM)
397397
SOURCES ${LIBGL_SOURCES} ${LIBGL_TEX_SOURCES}
398398
LIBS m LibGfx LibGPU)
399399

400+
# GUI
401+
list(APPEND LIBGUI_SOURCES "../../Userland/Libraries/LibGUI/ModelIndex.cpp")
402+
list(APPEND LIBGUI_SOURCES "../../Userland/Libraries/LibGUI/Model.cpp")
403+
list(APPEND LIBGUI_SOURCES "../../Userland/Libraries/LibGUI/Icon.cpp")
404+
lagom_lib(GUI gui
405+
SOURCES ${LIBGUI_SOURCES}
406+
LIBS LibGfx)
407+
400408
# GUI-GML
401409
file(GLOB LIBGUI_GML_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibGUI/GML/*.cpp")
402410
list(REMOVE_ITEM LIBGUI_GML_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../../Userland/Libraries/LibGUI/GML/AutocompleteProvider.cpp")

0 commit comments

Comments
 (0)