# HG changeset patch # User Benjamin Golinvaux # Date 1574249669 -3600 # Node ID 1064098f496d3c5f4ca3a8e8b73393423f17dae6 # Parent f68da12e852b9bcf4a8c748be4e093d55fc33d20 Added sample cmake command for bash/zsh diff -r f68da12e852b -r 1064098f496d README.md --- 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)** ```