comparison INSTALL @ 3586:732922e48937

Added build instructions for MSVC 2017 and 2019
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 02 Dec 2019 11:32:21 +0100
parents 4a8e8a96b233
children 19a2f1d2b816
comparison
equal deleted inserted replaced
3585:113a9643e8bb 3586:732922e48937
121 # cmake -G Ninja -T host=x64 -DSTATIC_BUILD=ON -DBOOST_LOCALE_BACKEND=icu [...]\Orthanc 121 # cmake -G Ninja -T host=x64 -DSTATIC_BUILD=ON -DBOOST_LOCALE_BACKEND=icu [...]\Orthanc
122 122
123 The option "-T host=x64" is necessary to prevent error "C1060: 123 The option "-T host=x64" is necessary to prevent error "C1060:
124 compiler is out of heap space" when compiling Orthanc with ICU. 124 compiler is out of heap space" when compiling Orthanc with ICU.
125 125
126 Native 64-bit Windows build with Microsoft Visual Studio 2017 (msbuild)
127 -----------------------------------------------------------------------
128 # cd [...]\OrthancBuild
129 # cmake -G "Visual Studio 15 2017 Win64" -DMSVC_MULTIPLE_PROCESSES=ON -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DALLOW_DOWNLOADS=ON [...]\Orthanc
126 130
131 Instructions to include support for Asian encodings:
132 # cmake -G "Visual Studio 15 2017 Win64" -T host=x64 -DSTATIC_BUILD=ON -DBOOST_LOCALE_BACKEND=icu -DMSVC_MULTIPLE_PROCESSES=ON -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DALLOW_DOWNLOADS=ON [...]\Orthanc
133
134 Native 64-bit Windows build with Microsoft Visual Studio 2019 (msbuild)
135 -----------------------------------------------------------------------
136 # cd [...]\OrthancBuild
137 # cmake -G "Visual Studio 16 2019" -A x64 -DMSVC_MULTIPLE_PROCESSES=ON -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DALLOW_DOWNLOADS=ON [...]\Orthanc
138
139 Instructions to include support for Asian encodings:
140 # cmake -G "Visual Studio 16 2019" -A x64 -T host=x64 -DSTATIC_BUILD=ON -DBOOST_LOCALE_BACKEND=icu -DMSVC_MULTIPLE_PROCESSES=ON -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DALLOW_DOWNLOADS=ON [...]\Orthanc
127 141
128 Cross-Compilation for Windows under GNU/Linux 142 Cross-Compilation for Windows under GNU/Linux
129 --------------------------------------------- 143 ---------------------------------------------
130 144
131 Some versions of MinGW-W64 might have problems with C++11 (notably 145 Some versions of MinGW-W64 might have problems with C++11 (notably