1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 18:47:44 +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

@ -7,11 +7,13 @@ serenity_component(
compile_gml(CardSettingsWidget.gml CardSettingsWidgetGML.h card_settings_widget_gml)
set(SOURCES
main.cpp
CardSettingsWidgetGML.h
CardSettingsWidget.cpp
CardSettingsWidget.h
)
main.cpp
CardSettingsWidget.cpp
)
set(GENERATED_SOURCES
CardSettingsWidgetGML.h
)
serenity_app(GamesSettings ICON games)
target_link_libraries(GamesSettings LibGUI LibMain LibCards)