mirror of
https://github.com/RGBCube/serenity
synced 2025-05-29 06:55:07 +00:00

Having so much the logic and lambdas in main() was getting unwieldy. Moving it into a class simplifies this, and also opens up a path towards supporting "Open in New Window" :^)
23 lines
582 B
CMake
23 lines
582 B
CMake
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
|
|
BrowserConsoleClient.cpp
|
|
BrowserWindow.cpp
|
|
BrowserWindowGML.h
|
|
ConsoleWidget.cpp
|
|
CookieJar.cpp
|
|
DownloadWidget.cpp
|
|
EditBookmarkGML.h
|
|
History.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)
|