mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-11-30 11:18:02 +08:00
13 lines
456 B
CMake
Executable File
13 lines
456 B
CMake
Executable File
|
|
SET(CMAKE_SYSTEM_NAME Linux)
|
|
|
|
SET(TOOLCHAIN_DIR /home/houzh/NX5/arm-toolchain/ext-toolchain)
|
|
set(CMAKE_CROSSCOMPILING true)
|
|
SET(M_LIBRAY m)
|
|
SET(SIZEOF_UINT64_T 8)
|
|
SET(CMAKE_SYSTEM_PROCESSOR arm)
|
|
SET(CMAKE_CXX_COMPILER ${TOOLCHAIN_DIR}/bin/arm-linux-gnueabi-g++)
|
|
SET(CMAKE_C_COMPILER ${TOOLCHAIN_DIR}/bin/arm-linux-gnueabi-gcc)
|
|
SET(CMAKE_ASM_COMPILER ${TOOLCHAIN_DIR}/bin/arm-linux-gnueabi-gcc)
|
|
SET(CMAKE_FIND_ROOT_PATH ${TOOLCHAIN_DIR}/arm-linux-gnueabi)
|