summaryrefslogtreecommitdiffstats
path: root/src/jaegertracing/opentelemetry-cpp/ci/setup_thrift.ps1
blob: a9be25262d2b810262c142dd1a422f5c04e3d508 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$ErrorActionPreference = "Stop"
trap { $host.SetShouldExit(1) }

git submodule update -f "tools/vcpkg"
Push-Location -Path "tools/vcpkg"
$VCPKG_DIR = (Get-Item -Path ".\").FullName
setx VCPKG_DIR "$VCPKG_DIR"
./bootstrap-vcpkg.bat

# boost needed for thrift
./vcpkg "--vcpkg-root=$VCPKG_DIR" install boost-predef[core]:x64-windows boost-locale[core]:x64-windows boost-numeric-conversion[core]:x64-windows boost-scope-exit[core]:x64-windows  openssl:x64-windows

Pop-Location