Mercurial > hg > orthanc-stone
comparison README.md @ 707:d1feb89ea742
Added sample command line for Visual Studio 2008
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 20 May 2019 11:03:50 +0200 |
parents | 8b6adfb62a2f |
children | a7351ad54960 |
comparison
equal
deleted
inserted
replaced
706:ef07304d4423 | 707:d1feb89ea742 |
---|---|
239 Various notes to be sorted | 239 Various notes to be sorted |
240 --------------------------- | 240 --------------------------- |
241 How to build the newest (2019-04-29) SDL samples under Windows, *inside* a | 241 How to build the newest (2019-04-29) SDL samples under Windows, *inside* a |
242 folder that is sibling to the orthanc-stone folder: | 242 folder that is sibling to the orthanc-stone folder: |
243 | 243 |
244 **Visual Studio 2017 (v140) ** | |
245 | |
244 ``` | 246 ``` |
245 cmake -G "Visual Studio 15 2017 Win64" -DMSVC_MULTIPLE_PROCESSES=ON -DENABLE_OPENGL=ON -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT="$($pwd)\..\orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON ../orthanc-stone/Samples/Sdl | 247 cmake -G "Visual Studio 15 2017 Win64" -DMSVC_MULTIPLE_PROCESSES=ON -DENABLE_OPENGL=ON -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT="$($pwd)\..\orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON ../orthanc-stone/Samples/Sdl |
248 ``` | |
249 | |
250 **Visual Studio 2008 (v90) ** | |
251 | |
252 ``` | |
253 cmake -G "Visual Studio 9 2008" -DUSE_LEGACY_JSONCPP=ON -DENABLE_OPENGL=ON -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT="$($pwd)\..\orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON ../orthanc-stone/Samples/Sdl | |
246 ``` | 254 ``` |
247 | 255 |
248 And under Ubuntu (note the /mnt/c/osi/dev/orthanc folder): | 256 And under Ubuntu (note the /mnt/c/osi/dev/orthanc folder): |
249 ``` | 257 ``` |
250 cmake -G "Ninja" -DENABLE_OPENGL=ON -DSTATIC_BUILD=OFF -DOPENSSL_NO_CAPIENG=ON -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT="/mnt/c/osi/dev/orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON ../orthanc-stone/Samples/Sdl | 258 cmake -G "Ninja" -DENABLE_OPENGL=ON -DSTATIC_BUILD=OFF -DOPENSSL_NO_CAPIENG=ON -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT="/mnt/c/osi/dev/orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON ../orthanc-stone/Samples/Sdl |