mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 16:15:10 +00:00

This adds component declarations so that users can select to not build certain parts of the OS.
30 lines
713 B
CMake
30 lines
713 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
|
|
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)
|