changeset 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 f68da12e852b
children ab3f3bb1bdb4
files README.md
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/README.md	Wed Nov 20 10:47:42 2019 +0100
+++ b/README.md	Wed Nov 20 12:34:29 2019 +0100
@@ -146,6 +146,15 @@
 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/
 ```
 
+**Ninja generator with static SDL build (bash/zsh script)**
+
+```
+# Please yourself one level above the orthanc-stone and orthanc folders
+if( -not (test-path stone_build_sdl)) { mkdir stone_build_sdl }
+cd stone_build_sdl
+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/
+```
+
 **Visual Studio 2017 generator with static SDL build  (pwsh script)**
 
 ```