SuperFola / pataro

A generic and modular Roguelike game on top of libtcod - I'll be back soon, just need a break!
25 stars 3 forks source link

Use vcpkg for dependencies. #8

Closed HexDecimal closed 3 years ago

HexDecimal commented 3 years ago

Fixes #6

I had to remove CI jobs which updated the Ubuntu compilers. They had link errors since they did use the provided compilers consistently. I'm not sure how to fix this yet. Using the existing GCC works okay.

This is using my fork of the vcpkg repo. This is just to get the latest version of libtcod before it's in the official repository. You might need to switch to your own fork if you need your own ports.

Vcpkg is handled from CMake, so you don't need to do anything extra. A full reconfigure is all you need to download or update the dependencies now. You can also edit vcpkg.json to easily add new dependencies, such as the fmt library for example.

SuperFola commented 3 years ago

That's really nice! 😮

Thanks for simplifying the integration of libtcod (I may have also gone the wrong way with huge bash scripts)

HexDecimal commented 3 years ago

I have to apologize for taking so long to do this. I spent a long time waiting for PR's to merge with the vcpkg repository while it turned out I had a working version the whole time if I had just used my fork.

Longer bash scripts are fine although I normally expect them to be in their own files rather than inline with the CI script. That way they can be shared with other CI's.

SuperFola commented 3 years ago

I can't blame you for taking time, I haven't had time to work on the project again for a few month now!