Zig binding for a tiny cross-platform webview library to build modern cross-platform GUIs.
- Zig Compiler - 0.11.0
- Unix
- Windows
- macOS
const webview = b.dependency("webview", .{
.target = target,
.optimize = optimize,
});
exe.addModule("webview", webview.module("webview"));
exe.linkLibrary(webview.artifact("webviewStatic")); // or "webviewShared" for shared library
// exe.linkSystemLibrary("webview"); to link with installed prebuilt library without building
This repo is released under the MIT License.