diff options
author | sfan5 <sfan5@live.de> | 2014-06-15 15:34:22 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2014-06-18 16:40:24 +0200 |
commit | ce9f1e1d3cacb8e81436a63254cb1d70cad7a0ed (patch) | |
tree | 72282660fe3e1135ffe53b1d79953c5bd681f1d3 /util/buildbot/toolchain_mingw64.cmake | |
parent | c380563a12d82603255e271af005e042bde0d42d (diff) | |
download | minetest-ce9f1e1d3cacb8e81436a63254cb1d70cad7a0ed.tar.gz minetest-ce9f1e1d3cacb8e81436a63254cb1d70cad7a0ed.tar.bz2 minetest-ce9f1e1d3cacb8e81436a63254cb1d70cad7a0ed.zip |
Update buildbot scripts and add 64-bit buildbot
Diffstat (limited to 'util/buildbot/toolchain_mingw64.cmake')
-rw-r--r-- | util/buildbot/toolchain_mingw64.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/util/buildbot/toolchain_mingw64.cmake b/util/buildbot/toolchain_mingw64.cmake new file mode 100644 index 000000000..52d06cdc3 --- /dev/null +++ b/util/buildbot/toolchain_mingw64.cmake @@ -0,0 +1,17 @@ +# name of the target operating system +SET(CMAKE_SYSTEM_NAME Windows) + +# which compilers to use for C and C++ +SET(CMAKE_C_COMPILER x86_64-mingw32-gcc) +SET(CMAKE_CXX_COMPILER x86_64-mingw32-g++) +SET(CMAKE_RC_COMPILER x86_64-mingw32-windres) + +# here is the target environment located +SET(CMAKE_FIND_ROOT_PATH /usr/x86_64-mingw32) + +# adjust the default behaviour of the FIND_XXX() commands: +# search headers and libraries in the target environment, search +# programs in the host environment +set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) |