samples: Fix tetris readme
This commit is contained in:
@@ -15,22 +15,16 @@ To build Tetris application for your host platform use
|
|||||||
|
|
||||||
./build.sh
|
./build.sh
|
||||||
|
|
||||||
You also may use gradle to build this sample: `../gradlew build`.
|
You also may use gradle to build this sample: `../gradlew build`. This task builds the sample for all platforms
|
||||||
Note that SDL2 must be installed on the host.
|
supported by the host. Note that SDL2 must be installed on the host.
|
||||||
|
|
||||||
For cross-compilation to iOS (on Mac host) use
|
For cross-compilation to iOS (on Mac host) use
|
||||||
|
|
||||||
TARGET=iphone ./build.sh
|
TARGET=iphone ./build.sh
|
||||||
or
|
|
||||||
|
|
||||||
../gradlew buildIphone
|
|
||||||
|
|
||||||
For cross-compilation to Raspberry Pi (on Linux host) use
|
For cross-compilation to Raspberry Pi (on Linux host) use
|
||||||
|
|
||||||
TARGET=raspberrypi ./build.sh
|
TARGET=raspberrypi ./build.sh
|
||||||
or
|
|
||||||
|
|
||||||
../gradlew buildRaspberry
|
|
||||||
|
|
||||||
During build process compilation script creates interoperability bindings to SDL2, using SDL C headers,
|
During build process compilation script creates interoperability bindings to SDL2, using SDL C headers,
|
||||||
and then compiles an application with the produced bindings.
|
and then compiles an application with the produced bindings.
|
||||||
|
|||||||
Reference in New Issue
Block a user