comparison Applications/Samples/rt-viewer-demo/build-sdl-msvc15.ps1 @ 549:1d9deb4ee84c ct-pet-dose-struct

Added RTSTRUCT demo viewer based on captain + fix in dev.h (wrong override signature)
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 02 Apr 2019 15:08:31 +0200
parents
children
comparison
equal deleted inserted replaced
548:d10a295b607a 549:1d9deb4ee84c
1 if (-not (Test-Path "build-sdl-msvc15")) {
2 mkdir -p "build-sdl-msvc15"
3 }
4
5 cd build-sdl-msvc15
6
7 cmake -G "Visual Studio 15 2017 Win64" -DSTATIC_BUILD=ON -DOPENSSL_NO_CAPIENG=ON -DORTHANC_FRAMEWORK_SOURCE=path -DSTONE_SOURCES_DIR="$($pwd)\..\..\..\.." -DORTHANC_FRAMEWORK_ROOT="$($pwd)\..\..\..\..\..\orthanc" -DALLOW_DOWNLOADS=ON -DENABLE_SDL=ON ..
8
9 if (!$?) {
10 Write-Error 'cmake configuration failed' -ErrorAction Stop
11 }
12
13 cmake --build . --target RtViewerDemo --config Debug
14
15 if (!$?) {
16 Write-Error 'cmake build failed' -ErrorAction Stop
17 }
18
19 cd Debug
20
21 .\RtViewerDemo.exe --ct-series=a04ecf01-79b2fc33-58239f7e-ad9db983-28e81afa --dose-instance=830a69ff-8e4b5ee3-b7f966c8-bccc20fb-d322dceb --struct-instance=54460695-ba3885ee-ddf61ac0-f028e31d-a6e474d9
22
23
24