mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-09 04:37:52 +03:00
ce2f1b845f
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
28 lines
635 B
CMake
28 lines
635 B
CMake
serenity_component(
|
|
MouseSettings
|
|
REQUIRED
|
|
TARGETS MouseSettings
|
|
)
|
|
|
|
compile_gml(Mouse.gml MouseWidgetGML.h mouse_widget_gml)
|
|
compile_gml(Theme.gml ThemeWidgetGML.h theme_widget_gml)
|
|
compile_gml(Highlight.gml HighlightWidgetGML.h highlight_widget_gml)
|
|
|
|
set(SOURCES
|
|
DoubleClickArrowWidget.cpp
|
|
HighlightPreviewWidget.cpp
|
|
HighlightWidget.cpp
|
|
MouseWidget.cpp
|
|
ThemeWidget.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
HighlightWidgetGML.h
|
|
MouseWidgetGML.h
|
|
ThemeWidgetGML.h
|
|
)
|
|
|
|
serenity_app(MouseSettings ICON app-mouse)
|
|
target_link_libraries(MouseSettings PRIVATE LibCore LibGfx LibGUI LibIPC LibMain)
|