mirror of
https://github.com/allyourcodebase/taglib.git
synced 2026-11-17 01:30:39 +00:00
taglib ported to the zig build system
- Zig 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| .gitattributes | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| COPYING.LGPL | ||
| COPYING.MPL | ||
| README.md | ||
TagLib
This is TagLib, packaged for Zig.
Installation
First, update your build.zig.zon:
# Initialize a `zig build` project if you haven't already
zig init
zig fetch --save git+https://github.com/allyourcodebase/taglib.git
You can then import taglib in your build.zig with:
const taglib_dependency = b.dependency("taglib", .{
.target = target,
.optimize = optimize,
});
your_exe.linkLibrary(taglib_dependency.artifact("tag_c"));