annotate Resources/Orthanc/MinGW-W64-Toolchain64.cmake @ 46:155eec0d4d3b

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