d3d60da45a
Some checks failed
linux-arm-gcc / linux-gcc-arm (Release) (push) Waiting to run
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Waiting to run
linux-arm-gcc / linux-gcc-armhf (Release) (push) Waiting to run
linux-arm-gcc / linux-gcc-arm (Debug) (push) Successful in 1m58s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Successful in 1m17s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Has been cancelled
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Successful in 1m22s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Successful in 1m33s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 1m20s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 1m29s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Successful in 3m2s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Successful in 1m40s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m11s
linux-x86-gcc / linux-gcc (Debug) (push) Successful in 2m59s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 1m56s
linux-x86-gcc / linux-gcc (Release) (push) Successful in 2m15s
19 lines
566 B
CMake
19 lines
566 B
CMake
set(CMAKE_SYSTEM_NAME Linux)
|
|
set(CMAKE_SYSTEM_PROCESSOR x86)
|
|
|
|
set(CMAKE_C_COMPILER "gcc")
|
|
set(CMAKE_CXX_COMPILER "g++")
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
|
|
|
set(CMAKE_C_FLAGS "-m32")
|
|
set(CMAKE_CXX_FLAGS "-m32")
|
|
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -m32")
|
|
|
|
# cache flags
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}" CACHE STRING "c flags")
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" CACHE STRING "c++ flags")
|
|
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS}" CACHE STRING "asm flags")
|