# HG changeset patch # User Benjamin Golinvaux # Date 1568973654 -7200 # Node ID 1607c4aebc5dd0cea749dcfb55d5ae42549aaa8a # Parent 341e68752354f670eb97206dfddf7ce934e5bb9e Addtnl instructions for build config + added new files to Stone CMake file diff -r 341e68752354 -r 1607c4aebc5d README.md --- a/README.md Fri Sep 20 12:00:04 2019 +0200 +++ b/README.md Fri Sep 20 12:00:54 2019 +0200 @@ -245,11 +245,30 @@ 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/Applications/Samples ``` -Various notes to be sorted +**Visual Studio 2019 (v142) ** + +``` +cmake -G "Visual Studio 16 2019" -A x64 -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/Applications/Samples +``` + +**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/Applications/Samples +``` + + +Build the core Samples --------------------------- 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 2019 (v142) ** + +``` +cmake -G "Visual Studio 16 2019" -A x64 -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 2017 (v140) ** ```