No description
  • C++ 52.7%
  • Zig 47.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Auguste Rame 600c1ac0a8
Merge pull request #1 from SonnyBonds/0.15-update
Update build.zig to work with Zig 0.15+
2025-11-06 13:37:54 -05:00
.gitignore init 2024-10-22 14:25:43 -04:00
build.zig Update build.zig to work with Zig 0.15+ 2025-11-06 18:23:35 +01:00
build.zig.zon Port 1.0.0-pre20 2025-05-11 15:18:09 -04:00
CapiExampleGl.cpp Port 1.0.0-pre20 2025-05-11 15:18:09 -04:00
LICENSE Port 1.0.0-pre20 2025-05-11 15:18:09 -04:00
README.md Port 1.0.0-pre20 2025-05-11 15:18:09 -04:00

thorvg built with build.zig

C API accessible via header thorvg_capi.h.

Tests

zig build test.

Two tests, "Missing Initialization" and "Negative termination," are failing; I believe this is an upstream issue and it doesn't seem like these failures break anything major.

Upstream Dev

If you'd like to work on the upstream source without using meson, you can modify the build.zig.zon to point to a local clone of the upstream thorvg and then use zig build -Dupstream-dev [upstream-dev-command].

You can also use this to run the upstream SDL2 + CApi example: zig build -Dupstream-dev example