1
0
mirror of https://github.com/minetest-mods/irc.git synced 2024-12-29 02:00:17 +01:00
irc/cmake/x-i586-mingw32msvc.cmake

23 lines
425 B
CMake
Raw Normal View History

2012-12-14 23:36:41 +01:00
# :mode=cmake:
set(CMAKE_SYSTEM_NAME Windows)
set(PLATFORM i586-mingw32msvc)
set(MGW_TOOLCHAIN_PATH
/usr/${PLATFORM}
)
set(WIN32 1)
set(CMAKE_C_COMPILER /usr/bin/${PLATFORM}-gcc)
set(CMAKE_RC_COMPILER /usr/bin/${PLATFORM}-windres)
set(CMAKE_FIND_ROOT_PATH ${MGW_TOOLCHAIN_PATH})
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)