Lee Cannon 77492e57b6 Update gen_zig to support 0.8.0 and master 4 лет назад
..
.gitignore 609900f2f0 added nim support to bindgen 5 лет назад
README.md be081ef048 bindgen/README: add a note about clang and python3, fixes #253 4 лет назад
gen_all.py 609900f2f0 added nim support to bindgen 5 лет назад
gen_ir.py d2826d75c0 Language-binding-friendly API changes. (#458) 5 лет назад
gen_nim.py d200b0ff6c a few minor updates: 4 лет назад
gen_zig.py 77492e57b6 Update gen_zig to support 0.8.0 and master 4 лет назад

README.md

Language Binding Generation Scripts

Zig

First make sure that clang and python3 are in the path:

> clang --version
> python3 --version

...on Windows I simply install those with scoop:

> scoop install llvm
> scoop install python

To update the Zig bindings:

> cd sokol/bindgen
> git clone https://github.com/floooh/sokol-zig
> git clone https://github.com/floooh/sokol-nim
> python3 gen_all.py

Test and run samples:

> cd sokol/bindgen/sokol-zig
> zig build run-clear
> zig build run-triangle
> zig build run-cube
...