ladybird/Userland/Applications/ClockSettings/CMakeLists.txt
Ali Mohammad Pur 166a905951 Userland: Properly populate GENERATED_SOURCES
We previously put the generated headers in SOURCES, which did not mark
them as GENERATED (and did not produce a proper dependency).
This commit moves all generated headers into GENERATED_SOURCES, and
removes useless header SOURCES.
2022-10-12 15:55:15 +01:00

23 lines
630 B
CMake

serenity_component(
ClockSettings
RECOMMENDED
TARGETS ClockSettings
)
compile_gml(ClockSettingsWidget.gml ClockSettingsWidgetGML.h clock_settings_widget_gml)
compile_gml(TimeZoneSettingsWidget.gml TimeZoneSettingsWidgetGML.h time_zone_settings_widget_gml)
set(SOURCES
main.cpp
ClockSettingsWidget.cpp
TimeZoneSettingsWidget.cpp
)
set(GENERATED_SOURCES
ClockSettingsWidgetGML.h
TimeZoneSettingsWidgetGML.h
)
serenity_app(ClockSettings ICON app-analog-clock) # FIXME: Create a ClockSettings icon.
target_link_libraries(ClockSettings LibGUI LibMain LibLocale)
link_with_locale_data(ClockSettings)