Support data parsing operations (#380)

This commit is contained in:
Nikolay Igotti
2017-03-23 12:54:24 +03:00
committed by GitHub
parent 8afa12684e
commit b5c60e3082
13 changed files with 534 additions and 5 deletions
+8 -2
View File
@@ -2,10 +2,16 @@ Start with building compiler by using `dist` and `cross_dist` for cross-targets.
To build Tetris application for your host platform use
./build
note that SDL2 must be installed on the host.
For cross-compilation to iOS use
TARGET=iphone ./build
For cross-compilation to iOS (on Mac host) use
TARGET=iphone ./build
For cross-compilation to Raspberry Pi (on Linux host) use
TARGET=raspberrypi ./build
During build process compilation script creates interoperability bindings to SDL2, using SDL C headers,
and then compiles an application with the produced bindings.
To deploy executable to iPhone device take Info.plist, then use XCode and your own private signing identity.
To run on Raspberry Pi one need to install SDL package with `apt-get install libsdl2-2.0.0` on the Pi.
Also GLES2 renderer is recommended (use `SDL_RENDER_DRIVER=opengles2 ./tetris.kexe`).