1set(CMAKE_SYSTEM_NAME Linux) 2set(CMAKE_SYSTEM_PROCESSOR aarch32) 3 4# Modify these variables with paths to appropriate compilers that can produce 5# armv7 targets 6 7# Specify the cross compiler 8set(CMAKE_C_COMPILER arm-none-linux-gnueabi-gcc) 9set(CMAKE_CXX_COMPILER arm-none-linux-gnueabi-g++) 10set(CMAKE_C_COMPILER_AR arm-none-linux-gnueabi-ar) 11set(CMAKE_CXX_COMPILER_AR arm-none-linux-gnueabi-ar) 12