By scipio on Skatehive
Learn Zig Series (#15) - The Build System (build.zig) What will I learn You will learn how build.zig replaces Makefiles, CMake, and other build configuration; the std.Build API for declaring executables, libraries, and test targets; build options: debug vs release, target triples, optimization levels; adding dependencies and linking C libraries from the build script; custom build steps for code generation and asset processing; the zig fetch and build.zig.zon package management system; conditional compilation and build-time configuration via options; organizing multi-binary projects with shared libraries. Requirements A working modern computer running macOS, Windows or Ubuntu; An installed Zig 0.14+ distribution (download from ziglang.org); The ambition to learn Zig programming. Difficulty Intermediate Curriculum (of the Learn Zig Series): Zig Programming Tutorial - ep001 - Intro Learn Zig Series (#2) - Hello Zig, Variables and Types Learn Zig Series (#3) - Functions and Control Flow Le