rev: tip jasm/win64_cross_compile_toolchain.txt -rw-r--r-- 479 bytes View raw Log this file
24ac64361fa3Jonas Hultén Workaround for swedish output from the hg command. a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR x64)

#set(tools /opt/mingw64)
#set(CMAKE_C_COMPILER ${tools}/bin/x86_64-w64-mingw32-gcc)
#set(CMAKE_CXX_COMPILER ${tools}/bin/x86_64-w64-mingw32-g++)

set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)

set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)