mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 09:04:43 +00:00
8 lines
349 B
CMake
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)
|