ziglibs / zgl

Zig OpenGL Wrapper
MIT License
425 stars 62 forks source link

Update the build process for the new Zig Package Manager #103

Closed Parazoid closed 7 months ago

Parazoid commented 7 months ago

Dependent projects just need to add the following to their build.zig:

    const zgl = b.dependency("zgl", .{
        .target = target,
        .optimize = optimize,
    });
    exe.root_module.addImport("zgl", zgl.module("zgl"));

This closes #100 Gyro usage should be deprecated.