Help build specifique before dependent to build a lib

hello,

I’d like to run a program in my build script and then compile normally (the program creates a zig source that integrates into the lib).
Is this possible?

The zig website has a ‘learn build system’ page, that gives a few examples how to achieve this.

https://ziglang.org/learn/build-system

I think the most relevant example for your case should be:

https://ziglang.org/learn/build-system/#generating-zig

1 Like