/webview-zig

⚡ Zig binding & wrapper for a tiny cross-platform webview library to build modern cross-platform GUIs.

Primary LanguageZigMIT LicenseMIT

webview-zig

Zig binding for a tiny cross-platform webview library to build modern cross-platform GUIs.

Requirements

Usage

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

References

License

This repo is released under the MIT License.