Merge branch 'cef-docs'

CEF-related documentation and build improvements.

See #24230.
This commit is contained in:
Vadim Zeitlin 2024-01-24 17:44:01 +01:00
commit 5e1890c068
5 changed files with 62 additions and 12 deletions

View file

@ -47,11 +47,16 @@
2. Unpack the archive into `3rdparty/cef` directory under wxWidgets source
directory.
3. Build `libcef_dll_wrapper` using the instructions provided in the CEF
distribution, but, in short, just by using `cmake` to do it. Please note
that if you use `-DCMAKE_BUILD_TYPE=Debug` under Unix when building it, you
need to pass `--enable-cef_debug` option to wxWidgets configure to avoid
mismatches between various definitions in the wrapper itself and in
wxWidgets.
distribution, which basically means using `cmake` to do it. Please note:
* Under Windows you must use `-DCEF_RUNTIME_LIBRARY_FLAG=/MD` option
to match the default wxWidgets build configuration.
* Under Unix remember that if you use `-DCMAKE_BUILD_TYPE=Debug` when
building it, you need to pass `--enable-cef_debug` option to
wxWidgets configure to avoid mismatches between various definitions
in the wrapper itself and in wxWidgets.
* Under all platforms you may want to use `-DCEF_USE_SANDBOX=OFF`
option to avoid linking with the sandbox library which is not
provided in the "Minimal Distribution" if you don't use this feature.
4. Copy the static library binary in the platform-dependent location:
- Under MSW, copy `libcefl_dll_wrapper.lib` file to either
`3rdparty/cef/Release` or `3rdparty/cef/Debug` depending on the build