libxaac/cmake/toolchains/aarch32_toolchain.cmake
Jyothi Swaroop Kumar Nallapaneni 03c53b0e08 CMake support for Platforms and Fuzzer
2023-02-09 12:22:18 +05:30

11 lines
394 B
CMake

set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR aarch32)
# Modify these variables with paths to appropriate compilers that can produce
# armv7 targets
# Specify the cross compiler
set(CMAKE_C_COMPILER arm-none-linux-gnueabi-gcc)
set(CMAKE_CXX_COMPILER arm-none-linux-gnueabi-g++)
set(CMAKE_C_COMPILER_AR arm-none-linux-gnueabi-ar)
set(CMAKE_CXX_COMPILER_AR arm-none-linux-gnueabi-ar)