Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.578 kb
# This still doesn't work but it's here for hacking on.
# To try it out:
#
# sudo apt-get install gcc-mingw32
# mkdir buildw32 && cd buildw32
# cmake -DCMAKE_TOOLCHAIN_FILE=../CMakeWindows.txt ..
# make
#
# Fix errors as they appear :)
#
# the name of the target operating system
SET(CMAKE_SYSTEM_NAME Windows)
# which compilers to use for C and C++
SET(CMAKE_C_COMPILER i586-mingw32msvc-gcc)
SET(CMAKE_CXX_COMPILER i586-mingw32msvc-g++)
SET(CMAKE_RC_COMPILER i586-mingw32msvc-windres)
# here is the target environment located
SET(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc)
Jump to Line
Something went wrong with that request. Please try again.