mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00

It's quite common to want the web-view to match the native OS widgets, so let's make that easy to do.
30 lines
893 B
CMake
30 lines
893 B
CMake
set(SOURCES
|
|
AccessibilityTreeModel.cpp
|
|
AriaPropertiesStateModel.cpp
|
|
DOMTreeModel.cpp
|
|
OutOfProcessWebView.cpp
|
|
RequestServerAdapter.cpp
|
|
StylePropertiesModel.cpp
|
|
ViewImplementation.cpp
|
|
WebContentClient.cpp
|
|
WebSocketClientAdapter.cpp
|
|
)
|
|
|
|
embed_as_string_view(
|
|
"NativeStyleSheetSource.cpp"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/Native.css"
|
|
"NativeStyleSheetSource.cpp"
|
|
"native_stylesheet_source"
|
|
NAMESPACE "WebView"
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
../../Services/RequestServer/RequestClientEndpoint.h
|
|
../../Services/RequestServer/RequestServerEndpoint.h
|
|
../../Services/WebContent/WebContentClientEndpoint.h
|
|
../../Services/WebContent/WebContentServerEndpoint.h
|
|
NativeStyleSheetSource.cpp
|
|
)
|
|
|
|
serenity_lib(LibWebView webview)
|
|
target_link_libraries(LibWebView PRIVATE LibCore LibFileSystemAccessClient LibGfx LibGUI LibIPC LibProtocol LibWeb)
|