1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-17 22:52:27 +00:00
serenity/Userland/Applications/Browser/CMakeLists.txt
Dylan Katz 3919a1dcc0 Browser: Load icons at start of program
Previously, Browser loaded icons from the disk every time an icon
was set. In addition to making more calls to the disk and decoding
more images, this makes error propagation impossible. This change
moves all icon loading to the start of the program.
2022-01-21 22:14:13 +01:00

31 lines
750 B
CMake

serenity_component(
Browser
RECOMMENDED
TARGETS Browser
DEPENDS ImageDecoder RequestServer WebContent WebSocket
)
compile_gml(BrowserWindow.gml BrowserWindowGML.h browser_window_gml)
compile_gml(EditBookmark.gml EditBookmarkGML.h edit_bookmark_gml)
compile_gml(Tab.gml TabGML.h tab_gml)
set(SOURCES
BookmarksBarWidget.cpp
BrowserWindow.cpp
BrowserWindowGML.h
ConsoleWidget.cpp
CookieJar.cpp
DownloadWidget.cpp
EditBookmarkGML.h
History.cpp
IconBag.cpp
InspectorWidget.cpp
Tab.cpp
TabGML.h
WindowActions.cpp
main.cpp
)
serenity_app(Browser ICON app-browser)
target_link_libraries(Browser LibWeb LibProtocol LibGUI LibDesktop LibConfig LibMain)
link_with_unicode_data(Browser)