Add the android ndk toolchains and compile android on travis.

This commit is contained in:
Matthieu Gautier
2017-03-07 22:15:13 +01:00
parent e3c0c5db82
commit 600f1b55aa
4 changed files with 250 additions and 12 deletions

View File

@ -0,0 +1,7 @@
SET(CMAKE_SYSTEM_NAME {host_machine[system]})
SET(CMAKE_ANDROID_STANDALONE_TOOLCHAIN {toolchain.builder.install_path})
SET(CMAKE_C_COMPILER "{toolchain.binaries[CC]}")
SET(CMAKE_CXX_COMPILER "{toolchain.binaries[CXX]}")
SET(CMAKE_FIND_ROOT_PATH {toolchain.root_path})