# HG changeset patch # User Benjamin Golinvaux # Date 1558343030 -7200 # Node ID d1feb89ea74205ba547b65f982395307f73f8d90 # Parent ef07304d44237ad92cb0aa1df57dbd75dca2c1ac Added sample command line for Visual Studio 2008 diff -r ef07304d4423 -r d1feb89ea742 README.md --- a/README.md Mon May 20 11:03:36 2019 +0200 +++ b/README.md Mon May 20 11:03:50 2019 +0200 @@ -241,10 +241,18 @@ How to build the newest (2019-04-29) SDL samples under Windows, *inside* a folder that is sibling to the orthanc-stone folder: +**Visual Studio 2017 (v140) ** + ``` 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 ``` +**Visual Studio 2008 (v90) ** + +``` +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 +``` + And under Ubuntu (note the /mnt/c/osi/dev/orthanc folder): ``` 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