Mercurial > hg > orthanc-databases
annotate Resources/Orthanc/MinGW-W64-Toolchain64.cmake @ 203:2089d4071408
moving classes out of OrthancPlugins namespace, to OrthancDatabases
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Mar 2021 18:15:34 +0100 |
parents | 3236894320d6 |
children | 1280b40d6696 |
rev | line source |
---|---|
160 | 1 # Orthanc - A Lightweight, RESTful DICOM Store |
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
3 # Department, University Hospital of Liege, Belgium | |
193
3236894320d6
upgrade to year 2021
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
160
diff
changeset
|
4 # Copyright (C) 2017-2021 Osimis S.A., Belgium |
160 | 5 # |
6 # This program is free software: you can redistribute it and/or | |
7 # modify it under the terms of the GNU Lesser General Public License | |
8 # as published by the Free Software Foundation, either version 3 of | |
9 # the License, or (at your option) any later version. | |
10 # | |
11 # This program is distributed in the hope that it will be useful, but | |
12 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 # Lesser General Public License for more details. | |
15 # | |
16 # You should have received a copy of the GNU Lesser General Public | |
17 # License along with this program. If not, see | |
18 # <http://www.gnu.org/licenses/>. | |
19 | |
20 | |
0 | 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 x86_64-w64-mingw32-gcc) | |
26 set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++) | |
27 set(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres) | |
28 | |
29 # here is the target environment located | |
30 set(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32) | |
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) |