Mercurial > hg > orthanc-webviewer
comparison Resources/MinGWToolchain.cmake @ 0:02f7a0400a91
initial commit
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 25 Feb 2015 13:45:35 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:02f7a0400a91 |
---|---|
1 # Orthanc - A Lightweight, RESTful DICOM Store | |
2 # Copyright (C) 2012-2015 Sebastien Jodogne, Medical Physics | |
3 # Department, University Hospital of Liege, Belgium | |
4 # | |
5 # This program is free software: you can redistribute it and/or | |
6 # modify it under the terms of the GNU Affero General Public License | |
7 # as published by the Free Software Foundation, either version 3 of | |
8 # the License, or (at your option) any later version. | |
9 # | |
10 # This program is distributed in the hope that it will be useful, but | |
11 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 # Affero General Public License for more details. | |
14 # | |
15 # You should have received a copy of the GNU Affero General Public License | |
16 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
17 | |
18 | |
19 # http://www.vtk.org/Wiki/CmakeMingw | |
20 | |
21 # the name of the target operating system | |
22 set(CMAKE_SYSTEM_NAME Windows) | |
23 | |
24 # which compilers to use for C and C++ | |
25 set(CMAKE_C_COMPILER i586-mingw32msvc-gcc) | |
26 set(CMAKE_CXX_COMPILER i586-mingw32msvc-g++) | |
27 set(CMAKE_RC_COMPILER i586-mingw32msvc-windres) | |
28 | |
29 # here is the target environment located | |
30 set(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc) | |
31 | |
32 # adjust the default behaviour of the FIND_XXX() commands: | |
33 # search headers and libraries in the target environment, search | |
34 # programs in the host environment | |
35 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | |
36 set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) | |
37 set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) |