Right now due to depending on package managers openage currently is really hard to build on specific platforms. I think this can be solved in easy way. Hopefully this’ll offer best solution for every world of users. This is my thought after seeing some projects in Github.
- Make a third party folder in repository. Here we will have necessary libraries. Our CMake buildsystem will search for necessary libraries here first before checking a tool chain file or other necessary package managers.
- For Python we will have a virtual environment setup in the repo itself. It’ll by no means will start conflicting with
PATHenvironment variable in case of multiple python setup.
- We will have one click make project command to generate necessary project files in case we are missing something and will auto-download to our thirdparty folder which our repository will ignore. It’ll download minimal necessary header and library files and auto-setup python with it’s necessary modules.
- In future everytime for managing(adding/remove) dependencies we will keep track of it in a post. Here we will determine how we can integrate our project other platforms or compilers.
By doing this we can eliminate the task of tedious steps of building openage. We can go other cross platform build tools like premake5, qmake, etc.