u/CodeToGargantua

▲ 15 r/Zig

I know the build system is a lifesaver for many people coming from cmake, visual studio, make etc. But I as someone with no experience with manually writing build systems, everything is new to me.

I would like to know of a way to learn how it works in some way other than going through the source code.

Context: Today, I started the learn opengl tutorial in cpp. The tutorial shows how to link glad and glfw on windows only, but I'm on Linux, and so, I thought I'll get creative and learn to build with zig. But currently getting stuck on how to get the imports working and how to structure the dependencies.

reddit.com
u/CodeToGargantua — 17 days ago