Mercurial > hg > orthanc
comparison Resources/MinGWToolchain.cmake @ 571:ec2c2411d4db laaw
versioning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 25 Sep 2013 15:03:24 +0200 |
parents | 3959d33612cc |
children | 3e53edcd0120 |
comparison
equal
deleted
inserted
replaced
570:86c5bb651bfa | 571:ec2c2411d4db |
---|---|
1 # http://www.vtk.org/Wiki/CmakeMingw | 1 # http://www.vtk.org/Wiki/CmakeMingw |
2 | 2 |
3 # the name of the target operating system | 3 # the name of the target operating system |
4 SET(CMAKE_SYSTEM_NAME Windows) | 4 set(CMAKE_SYSTEM_NAME Windows) |
5 | 5 |
6 # which compilers to use for C and C++ | 6 # which compilers to use for C and C++ |
7 SET(CMAKE_C_COMPILER i586-mingw32msvc-gcc) | 7 set(CMAKE_C_COMPILER i586-mingw32msvc-gcc) |
8 SET(CMAKE_CXX_COMPILER i586-mingw32msvc-g++) | 8 set(CMAKE_CXX_COMPILER i586-mingw32msvc-g++) |
9 SET(CMAKE_RC_COMPILER i586-mingw32msvc-windres) | 9 set(CMAKE_RC_COMPILER i586-mingw32msvc-windres) |
10 | 10 |
11 # here is the target environment located | 11 # here is the target environment located |
12 SET(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc) | 12 set(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc) |
13 | 13 |
14 # adjust the default behaviour of the FIND_XXX() commands: | 14 # adjust the default behaviour of the FIND_XXX() commands: |
15 # search headers and libraries in the target environment, search | 15 # search headers and libraries in the target environment, search |
16 # programs in the host environment | 16 # programs in the host environment |
17 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | 17 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) |