1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:17: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

@ -8,7 +8,6 @@ serenity_component(
compile_gml(HelpWindow.gml HelpWindowGML.h help_window_gml)
set(SOURCES
HelpWindowGML.h
History.cpp
main.cpp
MainWidget.cpp
@ -17,5 +16,9 @@ set(SOURCES
ManualSectionNode.cpp
)
set(GENERATED_SOURCES
HelpWindowGML.h
)
serenity_app(Help ICON app-help)
target_link_libraries(Help LibWebView LibWeb LibMarkdown LibGUI LibDesktop LibMain)