Hello guys and welcome to my devblog where I've been documenting my journey as I develop my ambitious package manager called "deadlock" and today was again a frustrating day for me as I had to install the zlib library to the project and just like always, it didn't build in the first time. If you've been following this series, you'd know that installing a library in C++ is as hard as a wooden stick. It won't build until I RECONFIGURE THE WHOLE SH*T FROM GROUND UP.
Anyways, after the reconfigure, I saw some weird decisions I had made throughout the whole process like why did I use FetchContent
to download the libraries on the fly when I had already put them in my source folder. I could've just included the subdirectory at the build time.
At this point I realised a basic rule of programming:
If it works, don't touch it
and then I ignored all of it and went ahead to read the documentation of zlib. I am currently reading this and I hope it is at least half if not as completely easy as the JSON one.
That's all for today guys, will catch you tomorrow when I bring updates about this library.
Till then Bye 🫡
Top comments (0)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.