ladybird/Userland/Applications/DisplaySettings/CMakeLists.txt
kleines Filmröllchen 1e67435ff5 Meta: Rename compile_gml to stringify_gml
This is what this function really does, it doesn't compile anything.
2023-08-11 21:33:48 +02:00

37 lines
1.2 KiB
CMake

serenity_component(
DisplaySettings
REQUIRED
TARGETS DisplaySettings
)
stringify_gml(BackgroundSettings.gml BackgroundSettingsGML.h background_settings_gml)
stringify_gml(DesktopSettings.gml DesktopSettingsGML.h desktop_settings_gml)
stringify_gml(EffectsSettings.gml EffectsSettingsGML.h effects_settings_gml)
stringify_gml(FontSettings.gml FontSettingsGML.h font_settings_gml)
stringify_gml(MonitorSettings.gml MonitorSettingsGML.h monitor_settings_window_gml)
stringify_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 LibFileSystemAccessClient)