Add MinGW-w64 Clang toolchain files

This commit is contained in:
Camilla Löwy
2019-04-01 17:38:02 +02:00
parent a507872051
commit 1857fc2272
4 changed files with 28 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# Define the environment for cross compiling from Linux to Win32
# Define the environment for cross-compiling with 64-bit MinGW-w64 GCC
SET(CMAKE_SYSTEM_NAME Windows) # Target system name
SET(CMAKE_SYSTEM_VERSION 1)
SET(CMAKE_C_COMPILER "x86_64-w64-mingw32-gcc")