I am busy learning Zig and tinkering with a monorepo type structure where I have many libraries in subfolders with their own build.zig and build.zig.zon files.
I currently have some build logic that I am having to duplicate between all of these subfolders and I was wondering if there is a way to create a build-tasks module that can be used by other modules at build time but as far as I can tell to use a zig file at build time you need to @import it’s path.
Is there a way to create a module for use at build time?
Thanks. That is entirely obvious. I think I still have a bit of a mental block about build.zig and stuff happening at comptime still being “just plain zig”