1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-09-16 03:54:01 +00:00
qb64/internal/c/parts/core/android_core/android_toolchain.cmake
Galleon bd012cc6f0 Updated image decoding files (some were missing)
'libresample' included (but still using 'libsamplerate')
2013-05-10 13:17:41 +10:00

8 lines
349 B
CMake

# CMake toolchain file, cf. README.android
SET(CMAKE_SYSTEM_NAME Linux) # Tell CMake we're cross-compiling
include(CMakeForceCompiler)
# Prefix detection only works with compiler id "GNU"
CMAKE_FORCE_C_COMPILER(arm-linux-androideabi-gcc GNU)
# '-DANDROID' is the Android build system convention
ADD_DEFINITIONS(-DANDROID)
SET(ANDROID TRUE)