forked from RandomEngy/VidCoder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_interop.ps1
More file actions
21 lines (15 loc) · 764 Bytes
/
build_interop.ps1
File metadata and controls
21 lines (15 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Builds HandBrakeInterop from the HandBrake source tree and copying the DLLs
# to the VidCoder lib folder.
. ./build_common.ps1
# Change this to the folder containing HandBrake.sln
$HandBrakeFolder = "..\HandBrake\win\CS"
$HandBrakeSolution = $HandBrakeFolder + "\HandBrake.sln"
$HandBrakeInteropFolder = $HandBrakeFolder + "\HandBrake.Interop"
$HandBrakeInteropProject = $HandBrakeInteropFolder + "\HandBrake.Interop.csproj"
& $MsBuildExe $HandBrakeInteropProject /t:rebuild "/p:Configuration=Release;Platform=x64"; ExitIfFailed
copy ($HandBrakeInteropFolder + "\bin\Release\HandBrake.Interop.dll") Lib -force
copy ($HandBrakeInteropFolder + "\bin\Release\HandBrake.Interop.pdb") Lib -force
"Files copied."
WriteSuccess
Write-Host
Pause