Mercurial > hg > orthanc-databases
annotate Resources/Orthanc/MinGWToolchain.cmake @ 505:38e428f8179d
more detailed error messages
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 24 May 2024 16:39:38 +0200 |
parents | ecd0b719cff5 |
children | 54d518dcd74a |
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 | |
459
ecd0b719cff5
update year to 2024
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
389
diff
changeset
|
4 # Copyright (C) 2017-2024 Osimis S.A., Belgium |
ecd0b719cff5
update year to 2024
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
389
diff
changeset
|
5 # Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium |
160 | 6 # |
7 # This program is free software: you can redistribute it and/or | |
8 # modify it under the terms of the GNU Lesser General Public License | |
9 # as published by the Free Software Foundation, either version 3 of | |
10 # the License, or (at your option) any later version. | |
11 # | |
12 # This program is distributed in the hope that it will be useful, but | |
13 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 # Lesser General Public License for more details. | |
16 # | |
17 # You should have received a copy of the GNU Lesser General Public | |
18 # License along with this program. If not, see | |
19 # <http://www.gnu.org/licenses/>. | |
20 | |
21 | |
0 | 22 # the name of the target operating system |
23 set(CMAKE_SYSTEM_NAME Windows) | |
24 | |
25 # which compilers to use for C and C++ | |
26 set(CMAKE_C_COMPILER i586-mingw32msvc-gcc) | |
27 set(CMAKE_CXX_COMPILER i586-mingw32msvc-g++) | |
28 set(CMAKE_RC_COMPILER i586-mingw32msvc-windres) | |
29 | |
30 # here is the target environment located | |
31 set(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc) | |
32 | |
33 # adjust the default behaviour of the FIND_XXX() commands: | |
34 # search headers and libraries in the target environment, search | |
35 # programs in the host environment | |
36 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | |
37 set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) | |
38 set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) | |
39 | |
40 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DSTACK_SIZE_PARAM_IS_A_RESERVATION=0x10000" CACHE INTERNAL "" FORCE) | |
41 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTACK_SIZE_PARAM_IS_A_RESERVATION=0x10000" CACHE INTERNAL "" FORCE) |