So I just checked the chromium build. The webview chromium sample is a separate project in generated wxWidgets solution, however, the source file is just the webview sample where the webviewsample_chromium project has wxWEBVIEW_SAMPLE_CHROMIUM defined.
String wxWebViewBackendChromium is defined at line 50 in src/common/webview_chromium.cpp
Code: Select all
extern WXDLLIMPEXP_DATA_WEBVIEW_CHROMIUM(const char) wxWebViewBackendChromium = "wxWebViewChromium";
If you cannot build the chromium PR out of the box the same way I could, I think it's because you're are mixing files from different sources. As oneeyeman wrote, just use the GIT: it's really simple with a suitable tool. Even I could do it with only few drops of blood, sweat, and tears shed! Since wxWidgets switched to submodules for 3rd party libraries, you cannot just download the zip from GitHub, the submodules are not in that .ZIP.
As for statically linked CMake generated projects, there was a bug in the CMake project with static CRT linkage which was fixed after chromium PR. Due to this error, I could not build the static version with statically linked CRT either. However, I do not think it would be that great idea in this case, when you already have to ship a bunch of huge Chromium DLLs anyway....