Closed bseto closed 4 years ago
@enochtsang, I know this is something you suggested before. I was kinda not full 100% on this idea before because I wasn't sure if we could do a static compile with SDL2 in the project. This can be something easy that @ctlai95 can start working on.
Read the section on Static Linking
.
https://wiki.libsdl.org/Installation
We should have a docker statically compile everything using the existing CMake.
This way, we won't have to have the annoying installer.sh work for everyone, we can offer a solution of having Docker build the binary.
For anyone who does not want docker building it, they can build 'manually' using CMake.
Benefits: People can (hopefully) compile a binary with ease, and be able to run the binary on their computer without fumbling through libsdl2-{image,dev,ttf,etc} installs. This will allow for a smaller hurdle when someone wants to contribute to this project.