Hi there, I have been learning Ada for about 3 or so months. I am currently using it to build my game engine. I sort of am getting the hang of it, but I started building this engine actually using gprbuild and only just “kind of” moved to Alire. I am on Windows (but I have a Linux environment and been using that for over 4 years so I know what I am getting myself into), and I want my engine to be on Windows/Linux. So my question is what is the best way to manually configure alire/gprbuild?
So far this works with a minimal raylib window and while I am going to build my cmake deps soonish, I am a bit hesistant to use it after building. (I never really liked cmake, I found it too big/hard to navigate). I would like some help on general project structure with alire/gprbuild if possible.
Also, if you are going to ask “why didn’t you just use alr init to start?” I came from Swift and I have had very, very bad experiences with package managers. Almost all the ones I have used in the dozen or so languages I have used have been kind of painful to audit dependencies and generally abstract away too much and for Swift, it doesn’t do FFI particularly “well” with it.
So yeah, call it ptsd, but I am recovering. I like alire (reminds me of cargo, one of the more acceptable PM’s imho) but any help would be nice. The ‘wiring’ for the other stuff is going to be done in the next few weeks, but yeah.
Here is my minimum project, I am entirely self taught so I am not very creative. But it at least does a window/ffi far better then Swift! GitHub - UltimaTerra/Shrine: An experimental game engine stack.
Any general tips, help and links would be appreciated. I have also found the docs for gprbuild here: 2. GNAT Project Manager — GPR Tools User's Guide 26.0w documentation
And I promise/swear if I can get alire working ‘nicely’ I wouldn’t mind adding just one more dependencies on GNATColl if I can. But for now, I am mostly just turtle-walking to the finish line.
Lastly, I know I could I have asked AI, but I wanted to come here both to introduce myself and to also get “the facts”. So here we are.
Thank you!
Look forward to staying around here. I have only been seriously self teaching myself for like, two years now, but I know I have a lot to learn.