rsys

Basic data structures and low-level features
git clone git://git.meso-star.fr/rsys.git
Log | Files | Refs | README | LICENSE

commit 6e717320c52e5ccdce76df8cfff47c762d52d198
parent 01326eab218ba8d8e15f8c042008865858fb6cc1
Author: vaplv <vaplv@free.fr>
Date:   Sun,  9 Feb 2014 17:35:29 +0100

Add the i686 mingw cmake toolchain

Diffstat:
Acmake/toolchain/i686-pc-mingw32-toolchain.cmake | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/cmake/toolchain/i686-pc-mingw32-toolchain.cmake b/cmake/toolchain/i686-pc-mingw32-toolchain.cmake @@ -0,0 +1,13 @@ +set(CMAKE_SYSTEM_NAME Windows) +set(CMAKE_C_COMPILER i686-pc-mingw32-gcc) +set(CMAKE_RC_COMPILER i686-pc-mingw32-windres) + +# Here is the target environment located +set(CMAKE_FIND_ROOT_PATH /usr/i686-pc-mingw32/sys-root/mingw) + +# 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)