mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
f7bce46f34
Added build scripts for building different releases (in cross-compile) Added new releases for rpi/imx6/wetek/x32/x64 Former-commit-id: 2025f1e3e8663d733b60a18944c6097da4ee371b
13 lines
381 B
CMake
13 lines
381 B
CMake
# toolchain file for building a 32bit version on a 64bit host
|
|
|
|
# use it like this:
|
|
# cmake -DCMAKE_TOOLCHAIN_FILE=Toolchain-x32.cmake <sourcedir>
|
|
|
|
set(CMAKE_SYSTEM_NAME Linux)
|
|
set(CMAKE_SYSTEM_VERSION 1)
|
|
set(CMAKE_SYSTEM_PROCESSOR "i686")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32" CACHE STRING "c++ flags")
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32" CACHE STRING "c flags")
|
|
|