# HG changeset patch # User am@osimis.io # Date 1534862905 -7200 # Node ID 30dc6e383b0bdaab230f1100b0916cf2e996235a # Parent 6b98ac45aaeea2d8fbb26a54d346e9a0be7dede9 documented how to build the native sample diff -r 6b98ac45aaee -r 30dc6e383b0b README --- a/README Tue Aug 21 16:36:01 2018 +0200 +++ b/README Tue Aug 21 16:48:25 2018 +0200 @@ -91,6 +91,7 @@ or into native SDL applications. to build the WASM samples: +------------------------- ``` cd ~/orthanc-stone/Platforms/Wasm ./build-wasm.sh @@ -106,6 +107,24 @@ ``` Now, you can open the samples in http://localhost:9977 +to build the SDL native samples (SimpleViewer only): +------------------------------- +``` +mkdir -p ~/builds/orthanc-stone-build +cd ~/builds/orthanc-stone-build +cmake -DALLOW_DOWNLOADS=ON ~/orthanc-stone/ +cmake --build . --target OrthancStoneSimpleViewer -- -j 5 +``` + +to execute the native samples: +``` +# launch an Orthanc listening on 8042 port: +Orthanc + +# launch the sample +./OrthancStoneSimpleViewer --instance1=XX --instance2=XX +``` + Licensing ---------