9 lines
416 B
CMake
9 lines
416 B
CMake
SET(CMAKE_SYSTEM_NAME Windows)
|
|
SET(CMAKE_C_COMPILER i486-mingw32-gcc)
|
|
SET(CMAKE_CXX_COMPILER i486-mingw32-g++)
|
|
SET(CMAKE_RC_COMPILER i486-mingw32-windres)
|
|
SET(CMAKE_FIND_ROOT_PATH /usr/i486-mingw32)
|
|
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_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -static-libgcc -static-libstdc++") |