mirror of
https://github.com/Relintai/pandemonium_engine_minimal.git
synced 2024-11-17 22:17:19 +01:00
11 lines
325 B
CMake
11 lines
325 B
CMake
|
set(CMAKE_SYSTEM_NAME Linux)
|
||
|
set(CMAKE_SYSTEM_PROCESSOR ARM)
|
||
|
|
||
|
set(archOpts "-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard")
|
||
|
set(ccOpts "")
|
||
|
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
|
||
|
set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
|
||
|
set(CMAKE_C_FLAGS "${archOpts} ${ccOpts}")
|
||
|
set(CMAKE_CXX_FLAGS "${archOpts} ${ccOpts}")
|
||
|
|