mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-21 10:43:36 +00:00
doc: use testspriteminimal instead of testgles in android example
testgles depends on SDL_test so would need ../src/test/*.c as an additonal argument.
(cherry picked from commit da8aa39222)
This commit is contained in:
committed by
Sam Lantinga
parent
7879d0b7b3
commit
f7aeabb980
@@ -49,10 +49,10 @@ There's two ways of using it:
|
||||
|
||||
sources.list should be a text file with a source file name in each line
|
||||
Filenames should be specified relative to the current directory, for example if
|
||||
you are in the build-scripts directory and want to create the testgles.c test, you'll
|
||||
you are in the build-scripts directory and want to create the testspriteminimal.c test, you'll
|
||||
run:
|
||||
|
||||
./create-android-project.py org.libsdl.testgles ../test/testgles.c
|
||||
./create-android-project.py org.libsdl.testspriteminimal ../test/testspriteminimal.c ../test/icon.h
|
||||
|
||||
One limitation of this script is that all sources provided will be aggregated into
|
||||
a single directory, thus all your source files should have a unique name.
|
||||
@@ -61,6 +61,9 @@ Once the project is complete the script will tell you how to build the project.
|
||||
If you want to create a signed release APK, you can use the project created by this
|
||||
utility to generate it.
|
||||
|
||||
If you see link errors about missing `SDLTest_*` symbols,
|
||||
you need to add `../src/test/*.c` as an extra argument to `create-android-project.py`.
|
||||
|
||||
Running the script with `--help` will list all available options, and their purposes.
|
||||
|
||||
Finally, a word of caution: re running create-android-project.py wipes any changes you may have
|
||||
|
||||
Reference in New Issue
Block a user