Skip to content
Snippets Groups Projects
Commit 8b68c493 authored by Edric Milaret's avatar Edric Milaret
Browse files

x64: add toolchain file for x64 Windows compilation

Change-Id: I319f15b3227b1ffd6cc5dbd3ab65515d167ac387
Tuleap: #387
parent a9df8141
Branches
Tags
No related merge requests found
# this one is important
SET(CMAKE_SYSTEM_NAME Windows)
# specify the cross compiler
SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
SET(CMAKE_ASM_YASM_COMPILER yasm)
SET(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32/)
set(LIB_FLAGS "-Wl,--output-def,libringclient.def")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment