A (prospective) 2D space strategy game
The project can only be compiled on Linux. Windows binaries through cross-compilation are however possible, see windows branch.
- Ensure that you have all dependencies installed (example for Ubuntu, but it will compile on any distro as long as the equivalent packages are installed)
apt install build-essential clang cmake libsdl2-dev libc6 libc-bin
- Run the build script
sh ./build.sh
An executable named solnce
will be generated. Beware when packaging that the executable expects assets/
and src/shaders/
to be present in the same directory.
Alternatively, if you have Docker you can just run docker compose up
, the same works for the windows
branch.