Go to file
2020-09-04 18:36:19 +02:00
.github/workflows Fix CI 2020-09-01 17:00:48 +02:00
cmake first commit 2020-08-30 00:41:54 +02:00
data Add simple Resource manager, fix isInside for rotated elements, optimize/fix mouse/touch inputs, refactor and optimize a lot of classes 2020-09-04 18:36:19 +02:00
src Add simple Resource manager, fix isInside for rotated elements, optimize/fix mouse/touch inputs, refactor and optimize a lot of classes 2020-09-04 18:36:19 +02:00
.gitignore Add dockerimage for building windows version 2020-08-30 16:56:03 +02:00
.gitmodules first commit 2020-08-30 00:41:54 +02:00
CMakeLists.txt Add simple Resource manager, fix isInside for rotated elements, optimize/fix mouse/touch inputs, refactor and optimize a lot of classes 2020-09-04 18:36:19 +02:00
Dockerfile.pc-win Add dockerimage for building windows version 2020-08-30 16:56:03 +02:00
Dockerfile.wiiu Add Dockerfile for building the Wii U version 2020-08-30 17:16:12 +02:00
filelist.sh Add simple Resource manager, fix isInside for rotated elements, optimize/fix mouse/touch inputs, refactor and optimize a lot of classes 2020-09-04 18:36:19 +02:00
Makefile.pc-win Big refactoring, add github ci file 2020-09-01 16:59:15 +02:00
Makefile.wiiu Add simple Resource manager, fix isInside for rotated elements, optimize/fix mouse/touch inputs, refactor and optimize a lot of classes 2020-09-04 18:36:19 +02:00
README.md Add Dockerfile for building the Wii U version 2020-08-30 17:16:12 +02:00

Building

Windows binaries

Windows with devkitPros version of msys2

Setup mingw:

  1. Add the mingw64 repository to /etc/pacman.conf.
[mingw64]
Server = https://repo.msys2.org/mingw/x86_64
  1. Install packages (List taken from here)
pacman -Syu
pacman -S git mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-SDL2 mingw64/mingw-w64-x86_64-SDL2_mixer mingw64/mingw-w64-x86_64-SDL2_image mingw64/mingw-w64-x86_64-SDL2_ttf mingw64/mingw-w64-x86_64-SDL2_net mingw64/mingw-w64-x86_64-cmake make
  1. Set the environment variable MINGW64_PREFIX to C:/devkitPro/msys2/mingw64/bin/

  2. Build!

make -f .\Makefile.pc-win

Windows with docker

docker build . -f .\Dockerfile.pc-win  -t sdl2_playground-builder-pc-win
docker run -it --rm -v ${PWD}:/project sdl2_playground-builder-pc-win make -f .\Makefile.pc-win -j16

Wii U binaries

With docker

docker build . -f .\Dockerfile.wiiu  -t sdl2_playground-builder-wiiu

docker run -it --rm -v ${PWD}:/project sdl2_playground-builder-wiiu make -f .\Makefile.wiiu -j16

With local installation

Install the following packages via devkitPros pacman:

(dkp)pacman -S devkitPPC wut-tools wut wiiu-portlibs wiiu-sdl2-libs

Build via:

make -f Makefile.wiiu