ZigCEF is a simple example on how to use CEF with Zig.
The latest known working version of CEF for ZigCEF is 116.0.21+g9c7dc32.
- Download a minimal CEF build for your platform here and extract it.
- Copy
include
tocef/include
. - Copy everything inside
Release
andResources
tocef/binaries
. - Build the project using
zig build copy-bin
. - On Linux, go to the
zig-out/bin
directory, then run the sample usingLD_LIBRARY_PATH=. ./ZigCEF
.