22 lines
792 B
PowerShell
22 lines
792 B
PowerShell
|
|
param(
|
||
|
|
[ValidateRange(1, 32)]
|
||
|
|
[int]$Jobs = 4,
|
||
|
|
[switch]$SkipBootstrap
|
||
|
|
)
|
||
|
|
|
||
|
|
$ErrorActionPreference = "Stop"
|
||
|
|
if (-not $SkipBootstrap) {
|
||
|
|
& (Join-Path $PSScriptRoot "bootstrap_native_deps.ps1")
|
||
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||
|
|
}
|
||
|
|
& (Join-Path $PSScriptRoot "install_msquic.ps1")
|
||
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||
|
|
& (Join-Path $PSScriptRoot "build_grpc_mingw.ps1") -Jobs $Jobs
|
||
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||
|
|
& (Join-Path $PSScriptRoot "build_ffmpeg_mingw.ps1") -Jobs $Jobs
|
||
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||
|
|
& (Join-Path $PSScriptRoot "build_urdfdom_mingw.ps1") -Jobs $Jobs
|
||
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||
|
|
& (Join-Path $PSScriptRoot "stage_native_deps.ps1")
|
||
|
|
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|