File: android_toolchain.cmake

package info (click to toggle)
freeglut 3.4.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,704 kB
  • sloc: ansic: 29,439; sh: 1,608; makefile: 51; xml: 45
file content (6 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
# 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)
SET(ANDROID TRUE)