mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +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
Notes:
sideshowbarker
2024-07-17 06:39:12 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/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…
Reference in a new issue