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

@ -13,25 +13,28 @@ compile_gml(Tab.gml TabGML.h tab_gml)
set(SOURCES
BookmarksBarWidget.cpp
BrowserWindow.cpp
BrowserWindowGML.h
ConsoleWidget.cpp
CookieJar.cpp
CookiesModel.cpp
DownloadWidget.cpp
EditBookmarkGML.h
ElementSizePreviewWidget.cpp
History.cpp
IconBag.cpp
InspectorWidget.cpp
StorageModel.cpp
StorageWidget.cpp
StorageWidgetGML.h
Tab.cpp
TabGML.h
WindowActions.cpp
main.cpp
)
set(GENERATED_SOURCES
BrowserWindowGML.h
EditBookmarkGML.h
StorageWidgetGML.h
TabGML.h
)
serenity_app(Browser ICON app-browser)
target_link_libraries(Browser LibWebView LibWeb LibProtocol LibGUI LibDesktop LibConfig LibMain)
link_with_locale_data(Browser)