Integration of Vala with Zig('s Build System).
The easiest way to use it is to just download ZigValaStep.zig to your project directory.
Then include it in your build.zig:
const ZigValaStep = @import("ZigValaStep.zig");You can create a Vala application as such:
const vala = ZigValaStep.init(b, "app_name");Add source files:
vala.addSourceFile("src/main.vala");Next, add all the package dependencies, such as GTK3, for example:
vala.addPackage("gtk+-3.0);Finally, hook up the executable:
vala.exe.setTarget(target);
vala.exe.setBuildMode(mode);
vala.exe.install();ZigValaStep.zig is licensed under MIT License.