25 lines
		
	
	
		
			606 B
		
	
	
	
		
			Batchfile
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			606 B
		
	
	
	
		
			Batchfile
		
	
	
		
			Executable File
		
	
	
	
	
:: Build script
 | 
						|
::   - Windows 10
 | 
						|
::   - Visual Studio 2019
 | 
						|
::   - Git
 | 
						|
::
 | 
						|
::  IMPORTANT!!!
 | 
						|
::    Open "x64 Native Command Tool Prompt for VS 2019" as Administrator.
 | 
						|
::
 | 
						|
 | 
						|
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat"
 | 
						|
 | 
						|
REM current dir - RPC source directory
 | 
						|
set VCPKG_DIR=C:\opt\vcpkg-source
 | 
						|
 | 
						|
cd %VCPKG_DIR%
 | 
						|
 | 
						|
REM build vcpkg
 | 
						|
git clone https://github.com/microsoft/vcpkg.git
 | 
						|
cd vcpkg
 | 
						|
git checkout 772d435ba18bf2f342458e0187ab7b48b84fe3f0
 | 
						|
cmd /c bootstrap-vcpkg.bat
 | 
						|
 | 
						|
REM install CPPRestSDK
 | 
						|
cmd /c vcpkg install cpprestsdk[websockets]:x64-windows-static
 |