mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 04:44:05 +00:00
Current MSVS requires explicit target "Rebuild" for some reason. Explicit target "Build" doesn't work for some reason (perhaps some error in project file?).
13 lines
363 B
PowerShell
13 lines
363 B
PowerShell
#Set-PSDebug -Trace 1
|
|
|
|
# Build AJA
|
|
if (${env:SDK_URL}) {
|
|
Invoke-WebRequest ${env:SDK_URL}/ntv2sdkwin.zip -OutFile aja.zip
|
|
Expand-Archive -LiteralPath 'aja.zip' -DestinationPath 'C:\'
|
|
Remove-Item aja.zip
|
|
mv c:\ntv2sdk* c:\AJA
|
|
cd c:\AJA
|
|
MSBuild.exe ntv2_vs12.sln -p:PlatformToolset=v142 -p:Configuration=Release -p:Platform=x64 -t:libajantv2:Rebuild
|
|
}
|
|
|