The short answer is no (to magic).
The longer answer is, it works well, but you need to do some things yourself.
The build.zig
is the configuration file, together with the build.zig.zon
.
No magic allowed, only things working in reasonable and understandable ways.
It gets downloaded automatically, but you are responsible for updating.
(Somebody could build tooling to make updating easier)
That isn’t necessary, but you need to use the build.zig
and build.zig.zon
.
For more explanation and an example repo take a look at:
I really think you shouldn’t avoid the build.zig
and build.zig.zon
and just get used to them and how they work, better then reinventing half-baked solutions via config files, that break down as soon as you want something a little bit more complex. Or when your config file tool, no longer is actively maintained.