ladybird/Userland/Applications/DisplaySettings/CMakeLists.txt
Tim Schumacher ce2f1b845f Everywhere: Mark dependencies of most targets as PRIVATE
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.
2022-11-01 14:49:09 +00:00

37 lines
1.1 KiB
CMake

serenity_component(
DisplaySettings
REQUIRED
TARGETS DisplaySettings
)
compile_gml(BackgroundSettings.gml BackgroundSettingsGML.h background_settings_gml)
compile_gml(DesktopSettings.gml DesktopSettingsGML.h desktop_settings_gml)
compile_gml(EffectsSettings.gml EffectsSettingsGML.h effects_settings_gml)
compile_gml(FontSettings.gml FontSettingsGML.h font_settings_gml)
compile_gml(MonitorSettings.gml MonitorSettingsGML.h monitor_settings_window_gml)
compile_gml(ThemesSettings.gml ThemesSettingsGML.h themes_settings_gml)
set(SOURCES
BackgroundSettingsWidget.cpp
DesktopSettingsWidget.cpp
EffectsSettingsWidget.cpp
FontSettingsWidget.cpp
MonitorSettingsWidget.cpp
MonitorWidget.cpp
ThemePreviewWidget.cpp
ThemesSettingsWidget.cpp
main.cpp
)
set(GENERATED_SOURCES
BackgroundSettingsGML.h
DesktopSettingsGML.h
EffectsSettingsGML.h
FontSettingsGML.h
MonitorSettingsGML.h
ThemesSettingsGML.h
)
serenity_app(DisplaySettings ICON app-display-settings)
target_link_libraries(DisplaySettings PRIVATE LibCore LibDesktop LibGfx LibGUI LibConfig LibIPC LibMain LibEDID LibThreading)