SFML mainline mirror
Go to file
Mario Liebisch 806813e937 Android: Removed custom toolchain file
This commit drops the previous custom CMake toolchain file for Android
in favor of CMake's new built-in toolchain for this (CMake >3.7.2).

This makes building SFML for Android a lot simpler and more straight
forward, working almost as smooth as other platforms.

To configure your build directory, all you have to do is defining just a
few variables the first time you invoke CMake.

**Required Variables**

* `CMAKE_SYSTEM_NAME` must be `Android`, so CMake knows we actually want
  to cross-compile.
* `CMAKE_ANDROID_NDK` must point to the NDK's installation directory,
  e.g. `/usr/android/ndk` or `c:/android/ndk`.

**Recommended Variables**
* `CMAKE_ANDROID_STL_TYPE` defines the STL implementation to be used.
  You should use `c++_shared`, although others might work.

**Optional Variables**
* `CMAKE_SYSTEM_VERSION` can be set to pick a specific SDK version other
  than the latest.
* `CMAKE_ANDROID_ARCH_ABI` defines the target architecture and ABI, for
  example `armeabi` or `armeabi-v7a`.

Based on your system, you might want to enforce a specific generator to
prevent issues, e.g. using `MinGW Makefiles`.
2018-02-11 20:15:54 +01:00
cmake Android: Removed custom toolchain file 2018-02-11 20:15:54 +01:00
doc Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00
examples Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00
extlibs Added support for interfacing with joysticks via DirectInput when it is available. 2018-02-10 14:47:37 +01:00
include/SFML Android: Removed custom toolchain file 2018-02-11 20:15:54 +01:00
src/SFML Android: Removed custom toolchain file 2018-02-11 20:15:54 +01:00
tools Updated the copyright year to 2018. 2018-02-10 14:51:46 +01:00
.editorconfig Added an .editorconfig file 2015-02-06 11:07:39 +01:00
.gitattributes Added a FLAC file to the Sound example to cover all three supported formats. 2015-03-28 22:49:46 +01:00
changelog.md Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00
CMakeLists.txt Android: Removed custom toolchain file 2018-02-11 20:15:54 +01:00
CONTRIBUTING.md Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00
license.md Updated the copyright year to 2018. 2018-02-10 14:51:46 +01:00
readme.md Turned the header image in readme.md into a link. 2018-02-10 17:12:54 +01:00

SFML logo

SFML — Simple and Fast Multimedia Library

SFML is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network. It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.

Authors

Download

You can get the latest official release on SFML's website. You can also get the current development version from the Git repository.

Install

Follow the instructions of the tutorials, there is one for each platform/compiler that SFML supports.

Learn

There are several places to learn SFML:

Contribute

SFML is an open-source project, and it needs your help to go on growing and improving. If you want to get involved and suggest some additional features, file a bug report or submit a patch, please have a look at the contribution guidelines.