Link CEF files into webview sample build directory under Unix

Ensure that the sample can run using wxWebViewChromium backend out of
the box by setting things up so that it can find the CEF files. Note
that we use symlinks instead of actually copying these files, to avoid
wasting so much disk space (CEF libraries take more than 1GiB).
This commit is contained in:
Vadim Zeitlin 2023-09-14 19:24:18 +02:00
parent ae8619b6dd
commit b5e278c0eb
4 changed files with 33 additions and 1 deletions

6
configure vendored
View file

@ -755,6 +755,7 @@ COND_PLATFORM_WIN32_1
COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_4
COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
COND_PLATFORM_WIN32_0
COND_PLATFORM_UNIX_1_USE_WEBVIEW_CHROMIUM_1
COND_PLATFORM_UNIX_1_USE_PLUGINS_0
COND_PLATFORM_UNIX_1_USE_GUI_1
COND_PLATFORM_UNIX_1_TOOLKIT_QT_USE_GUI_1_WXUNIV_0
@ -42820,6 +42821,11 @@ EOF
COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
fi
COND_PLATFORM_UNIX_1_USE_WEBVIEW_CHROMIUM_1="#"
if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_WEBVIEW_CHROMIUM" = "x1" ; then
COND_PLATFORM_UNIX_1_USE_WEBVIEW_CHROMIUM_1=""
fi
COND_PLATFORM_WIN32_0="#"
if test "x$PLATFORM_WIN32" = "x0" ; then
COND_PLATFORM_WIN32_0=""