To use this module in your project you will need:
- A build.zig.zon file like this.
- These lines in your build.zig:
const vapoursynth_dep = b.dependency("vapoursynth", .{
.target = target,
.optimize = optimize,
});
lib.root_module.addImport("vapoursynth", vapoursynth_dep.module("vapoursynth"));
The invert_example.zig is based on invert_example.c, from the VapourSynth SDK, I recommend checking it out first if you don't know the framework.
Zig version should be the master.
zig build -Doptimize=ReleaseFast