update token for appveyor auto release
[openjpeg.git] / tools / ctest_scripts / toolchain-mingw32.cmake
1 # http://www.cmake.org/Wiki/CmakeMingw
2 #
3 #  Copyright (c) 2006-2014 Mathieu Malaterre <mathieu.malaterre@voxxl.com>
4 #
5 #  Redistribution and use is allowed according to the terms of the New
6 #  BSD license.
7 #  For details see the accompanying COPYING-CMAKE-SCRIPTS file.
8 #
9
10 # the name of the target operating system
11 set(CMAKE_SYSTEM_NAME Windows)
12
13 # which compilers to use for C and C++
14 set(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
15 set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
16 set(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
17
18 # here is the target environment located
19 set(CMAKE_FIND_ROOT_PATH  /usr/i686-w64-mingw32)
20
21 # adjust the default behaviour of the FIND_XXX() commands:
22 # search headers and libraries in the target environment, search
23 # programs in the host environment
24 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
25 set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
26 set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)