SFML/tools/android
2024-06-11 13:55:21 +02:00
..
clean_all.sh [Android] Added tools (unix bash scripts) to recompile Android extlibs 2014-04-20 12:56:49 +02:00
compile_arm-v7a.sh [Android] Updated scripts to use libc++ when building extlibs 2014-04-20 12:58:31 +02:00
compile_arm.sh [Android] Added tools (unix bash scripts) to recompile Android extlibs 2014-04-20 12:56:49 +02:00
compile_libs.sh Added example opus file, added libopus to android scripts. 2024-06-11 13:55:21 +02:00
compile_mips.sh [Android] Added tools (unix bash scripts) to recompile Android extlibs 2014-04-20 12:56:49 +02:00
compile_x86.sh [Android] Added tools (unix bash scripts) to recompile Android extlibs 2014-04-20 12:56:49 +02:00
create_toolchains.sh Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
download_sources.sh Added example opus file, added libopus to android scripts. 2024-06-11 13:55:21 +02:00
make_all.sh Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
readme.txt Fix misspellings 2023-05-21 14:37:46 -06:00

Compiling external libraries for Android can be a tedious task, especially for
those who aren't familiar with the NDK, that's why we provide these scripts.

IMPORTANT: Please, be careful when using these scripts! They are unpolished at
the moment and you'll have to respect a simple rule: call these scripts from
where they are. So, in that case, head yourself to tools/android, then call
./make_all.sh.

Feel free to improve them or send patches.

HOW-TO-USE:
-----------
1) Some of these scripts need an environment variable to work ($NDK) as well
as the Android CMake toolchain you'll find in cmake/toolchains (android.toolchain.cmake)
export NDK=/path/to/your/ndk
export ANDROID_CMAKE_TOOLCHAIN=/path/to/android.toolchain.cmake

2) You'll need to make them executable, so:
chmod +x *.sh

3) Type: ./make_all.sh which should create standalone toolchains, download the
external libraries and compile them.

These scripts will be improved over time. Meanwhile, you'll have to play with
them if you want a customized behavior.

Good luck!