annotate Resources/Orthanc/Toolchains/MinGW-W64-Toolchain64.cmake @ 70:786b202ef24e

use more recent httpclient
author Alain Mazy <am@osimis.io>
date Tue, 21 Feb 2023 09:23:47 +0100
parents
children 11530895e0b2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
1 # Orthanc - A Lightweight, RESTful DICOM Store
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
3 # Department, University Hospital of Liege, Belgium
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
4 # Copyright (C) 2017-2022 Osimis S.A., Belgium
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
5 # Copyright (C) 2021-2022 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
6 #
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
7 # This program is free software: you can redistribute it and/or
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
8 # modify it under the terms of the GNU Lesser General Public License
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
9 # as published by the Free Software Foundation, either version 3 of
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
10 # the License, or (at your option) any later version.
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
11 #
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
12 # This program is distributed in the hope that it will be useful, but
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
15 # Lesser General Public License for more details.
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
16 #
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
17 # You should have received a copy of the GNU Lesser General Public
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
18 # License along with this program. If not, see
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
19 # <http://www.gnu.org/licenses/>.
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
20
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
21
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
22 # the name of the target operating system
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
23 set(CMAKE_SYSTEM_NAME Windows)
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
24
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
25 # which compilers to use for C and C++
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
26 set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
27 set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
28 set(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
29
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
30 # here is the target environment located
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
31 set(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32)
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
32
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
33 # adjust the default behaviour of the FIND_XXX() commands:
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
34 # search headers and libraries in the target environment, search
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
35 # programs in the host environment
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
36 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
37 set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
786b202ef24e use more recent httpclient
Alain Mazy <am@osimis.io>
parents:
diff changeset
38 set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)