comparison README.md @ 1173:1064098f496d

Added sample cmake command for bash/zsh
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 20 Nov 2019 12:34:29 +0100
parents 1607c4aebc5d
children c53a4667f895
comparison
equal deleted inserted replaced
1166:f68da12e852b 1173:1064098f496d
142 ``` 142 ```
143 # Please yourself one level above the orthanc-stone and orthanc folders 143 # Please yourself one level above the orthanc-stone and orthanc folders
144 if( -not (test-path stone_build_sdl)) { mkdir stone_build_sdl } 144 if( -not (test-path stone_build_sdl)) { mkdir stone_build_sdl }
145 cd stone_build_sdl 145 cd stone_build_sdl
146 cmake -G Ninja -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT="$($pwd)\..\orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON ../orthanc-stone/Applications/Samples/ 146 cmake -G Ninja -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT="$($pwd)\..\orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON ../orthanc-stone/Applications/Samples/
147 ```
148
149 **Ninja generator with static SDL build (bash/zsh script)**
150
151 ```
152 # Please yourself one level above the orthanc-stone and orthanc folders
153 if( -not (test-path stone_build_sdl)) { mkdir stone_build_sdl }
154 cd stone_build_sdl
155 cmake -G Ninja -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DORTHANC_FRAMEWORK_SOURCE=path -DORTHANC_FRAMEWORK_ROOT="`pwd`/../orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON ../orthanc-stone/Applications/Samples/
147 ``` 156 ```
148 157
149 **Visual Studio 2017 generator with static SDL build (pwsh script)** 158 **Visual Studio 2017 generator with static SDL build (pwsh script)**
150 159
151 ``` 160 ```