Files
UnrealEngineUWP/Engine/Source/Programs/PixelStreaming/SessionMonitor/ThirdParty/cpprestsdk/setup-cpprestsdk.bat
Andriy Tylychko 9f65ad43a6 Merging //UE4/Private-3Lateral_Streaming to Main (//UE4/Main)
This mainly covers the new Pixel Streaming plugin version along with minor changes to other parts of the engine:
* removed multiple copies of FThread as it's now a part of Core
* changes to SlateUser required to fix user input in Pixel Streaming

This wasn't formally reviewed due to the size of Pixel Streaming changes, but was skimmed over by Zack Letters before integration

#rb zack.letters

[CL 9486237 by Andriy Tylychko in Main branch]
2019-10-09 08:21:27 -04:00

39 lines
824 B
Batchfile

@echo off
rem *********************************
rem Check if we have admin rights
rem *********************************
echo Administrative permissions required. Detecting permissions...
net session >nul 2>&1
if %errorLevel% == 0 (
echo Success: Administrative permissions confirmed.
) else (
echo Failure: Current permissions inadequate.
exit /b 1
)
if exist .\vcpkg (
echo Failure: Directory vcpkg already exists. Delete it and run this again for a fresh setup
exit /B 1
)
git clone https://github.com/Microsoft/vcpkg.git .\vcpkg
if %errorlevel% NEQ 0 (
echo Git clone failed.
exit /B 1
)
cd vcpkg
call .\bootstrap-vcpkg.bat
if %errorlevel% NEQ 0 (
echo Bootstrap failed
exit /B 1
)
rem user-wide integration
.\vcpkg integrate install
rem install cpprestsdk
vcpkg install cpprestsdk cpprestsdk:x64-windows