comparison INSTALL @ 3185:c6dab987f43a

changed VS precompiled headers to support Ninja + instructions to use Ninja & QtCreator on Windows
author Alain Mazy <alain@mazy.be>
date Fri, 01 Feb 2019 17:53:40 +0100
parents 8b6b0b6ece6b
children 6f35279215c4
comparison
equal deleted inserted replaced
3180:07a2f637b76d 3185:c6dab987f43a
89 Read the CMake FAQ: http://goo.gl/By90B 89 Read the CMake FAQ: http://goo.gl/By90B
90 * The "-DUSE_LEGACY_JSONCPP=ON" must be set for versions of 90 * The "-DUSE_LEGACY_JSONCPP=ON" must be set for versions of
91 Visual Studio that do not support C++11 91 Visual Studio that do not support C++11
92 92
93 93
94 Native Windows build with Microsoft Visual Studio 2015, Ninja and QtCreator
95 ---------------------------------------------------------------------------
96
97 Open a Visual Studio 2015 x64 Command Prompt.
98
99 # cd [...]\OrthancBuild
100 # cmake -G Ninja -DSTATIC_BUILD=ON [...]\Orthanc
101 # ninja
102
103 Then, you can open an existing project in QtCreator:
104 * Select the CMakeLists.txt in [...]\Orthanc
105 * Import build from [...]\OrthancBuild
106
107
94 108
95 Cross-Compilation for Windows under GNU/Linux 109 Cross-Compilation for Windows under GNU/Linux
96 --------------------------------------------- 110 ---------------------------------------------
97 111
98 Some versions of MinGW-W64 might have problems with C++11 (notably 112 Some versions of MinGW-W64 might have problems with C++11 (notably