2011-03-20 18:53:20 +01:00
|
|
|
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)
|
2011-05-15 21:19:41 +02:00
|
|
|
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
|
|
|
SET(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -static-libgcc -static-libstdc++")
|