mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00

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.
21 lines
507 B
CMake
21 lines
507 B
CMake
serenity_component(
|
|
KeyboardSettings
|
|
REQUIRED
|
|
TARGETS KeyboardSettings
|
|
)
|
|
|
|
compile_gml(Keyboard.gml KeyboardWidgetGML.h keyboard_widget_gml)
|
|
compile_gml(KeymapDialog.gml KeymapDialogGML.h keymap_dialog_gml)
|
|
|
|
set(SOURCES
|
|
KeyboardSettingsWidget.cpp
|
|
main.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
KeyboardWidgetGML.h
|
|
KeymapDialogGML.h
|
|
)
|
|
|
|
serenity_app(KeyboardSettings ICON app-keyboard-settings)
|
|
target_link_libraries(KeyboardSettings PRIVATE LibCore LibGfx LibGUI LibKeyboard LibConfig LibMain)
|