Allow usage of static loader with wxWebViewEdge
Add a new build option wxUSE_WEBVIEW_EDGE_STATIC. If it is set to 1 the WebView2 loader is static linked into the binary and removes the runtime dependency on WebView2Loader.dll.
This commit is contained in:
committed by
Tobias Taschner
parent
f0c6b42ad0
commit
57ebad4f7d
@@ -802,6 +802,13 @@
|
||||
// Recommended setting: 1 when building for Windows with WebView2 SDK
|
||||
#define wxUSE_WEBVIEW_EDGE 0
|
||||
|
||||
// Use the Edge (Chromium) wxWebView backend without loader DLL
|
||||
//
|
||||
// Default is 0, set it to 1 if you don't want to depend on WebView2Loader.dll.
|
||||
//
|
||||
// Recommended setting: 0
|
||||
#define wxUSE_WEBVIEW_EDGE_STATIC 0
|
||||
|
||||
// Use the WebKit wxWebView backend
|
||||
//
|
||||
// Default is 1 on GTK and OSX
|
||||
|
||||
Reference in New Issue
Block a user