mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 06:57:35 +00:00

This adds component declarations so that users can select to not build certain parts of the OS.
23 lines
634 B
CMake
23 lines
634 B
CMake
serenity_component(
|
|
DisplaySettings
|
|
REQUIRED
|
|
TARGETS DisplaySettings
|
|
)
|
|
|
|
compile_gml(MonitorSettings.gml MonitorSettingsGML.h monitor_settings_window_gml)
|
|
compile_gml(BackgroundSettings.gml BackgroundSettingsGML.h background_settings_gml)
|
|
compile_gml(FontSettings.gml FontSettingsGML.h font_settings_gml)
|
|
|
|
set(SOURCES
|
|
BackgroundSettingsGML.h
|
|
BackgroundSettingsWidget.cpp
|
|
FontSettingsGML.h
|
|
FontSettingsWidget.cpp
|
|
MonitorSettingsWidget.cpp
|
|
MonitorSettingsGML.h
|
|
MonitorWidget.cpp
|
|
main.cpp
|
|
)
|
|
|
|
serenity_app(DisplaySettings ICON app-display-settings)
|
|
target_link_libraries(DisplaySettings LibGUI)
|