2017-04-19 04:54:30 -07:00
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
|
|
|
|
New-Item -type directory downloads -errorAction SilentlyContinue | Out-Null
|
|
|
|
./scripts/bootstrap.ps1
|
2017-05-19 15:29:07 -07:00
|
|
|
if (-not $?) { throw $? }
|
2017-04-19 04:54:30 -07:00
|
|
|
|
|
|
|
# Clear out any intermediate files from the previous build
|
2017-05-25 18:15:05 -07:00
|
|
|
Get-ChildItem buildtrees/*/* | ? { $_.Name -ne "src" -and $_.Extension -ne ".log"} | Remove-Item -Recurse -Force
|
2017-04-19 04:54:30 -07:00
|
|
|
|
|
|
|
# Purge any outdated packages
|
|
|
|
./vcpkg remove --outdated --recurse
|
2017-05-19 15:29:07 -07:00
|
|
|
if (-not $?) { throw $? }
|
2017-04-19 04:54:30 -07:00
|
|
|
|
|
|
|
./vcpkg.exe install azure-storage-cpp cpprestsdk:x64-windows-static cpprestsdk:x86-uwp
|
2017-05-19 15:29:07 -07:00
|
|
|
if (-not $?) { throw $? }
|
2017-04-19 04:54:30 -07:00
|
|
|
|
2017-05-25 15:55:46 -07:00
|
|
|
./vcpkg.exe install bond chakracore cryptopp zlib expat sdl2 curl sqlite3 libuv protobuf:x64-windows sfml opencv:x64-windows uwebsockets uwebsockets:x64-windows-static
|
2017-05-19 15:29:07 -07:00
|
|
|
if (-not $?) { throw $? }
|
2017-04-19 04:54:30 -07:00
|
|
|
|
2017-05-14 19:55:43 -07:00
|
|
|
./vcpkg.exe install opencv:x86-uwp boost:x86-uwp
|
2017-05-19 15:29:07 -07:00
|
|
|
if (-not $?) { throw $? }
|
2017-05-08 16:46:49 -07:00
|
|
|
|
2017-05-19 20:08:16 -07:00
|
|
|
# ./vcpkg.exe install folly:x64-windows
|
|
|
|
# if (-not $?) { throw $? }
|