Add Toolchain for x86 linux

master
Unknown 2019-03-31 05:38:33 +02:00
parent 109a8d44a5
commit 420892f4b9
1 changed files with 9 additions and 0 deletions

9
Linux32-toolchain.cmake Normal file
View File

@ -0,0 +1,9 @@
# the name of the target operating system
set(CMAKE_SYSTEM_NAME Linux)
set(CPACK_SYSTEM_NAME Linux32)
message(STATUS "BUILDING x86-Linux")
# Which compilers to use for C and C++
set(CMAKE_C_COMPILER gcc -m32)
set(CMAKE_CXX_COMPILER g++ -m32)