mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
166a905951
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.
23 lines
630 B
CMake
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)
|