Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (20 sloc) 0.662 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/i686-w64-mingw32)
# nacl needs this define for some of it's tests.
add_definitions("-D random=rand")
Jump to Line
Something went wrong with that request. Please try again.