1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 20:27:46 +00:00

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.
This commit is contained in:
Ali Mohammad Pur 2022-10-12 15:46:13 +03:30 committed by Sam Atkins
parent c88058cea2
commit 166a905951
54 changed files with 236 additions and 97 deletions

View file

@ -8,11 +8,14 @@ compile_gml(BrowserSettingsWidget.gml BrowserSettingsWidgetGML.h browser_setting
compile_gml(ContentFilterSettingsWidget.gml ContentFilterSettingsWidgetGML.h content_filter_settings_widget_gml)
set(SOURCES
main.cpp
ContentFilterSettingsWidget.cpp
ContentFilterSettingsWidgetGML.h
BrowserSettingsWidget.cpp
ContentFilterSettingsWidget.cpp
main.cpp
)
set(GENERATED_SOURCES
BrowserSettingsWidgetGML.h
ContentFilterSettingsWidgetGML.h
)
serenity_app(BrowserSettings ICON app-browser)