blob: d0c40cacb6d6efb98770dd650885ff5dfaeda653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<!--
build.xml
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr>.
It may be used under the terms of the GNU General Public License
HandBrake Build Scipt for usage with Jenkins.
Usage: msbuild build.xml /p:Platform=x86
Reuqires: HandBrakeCli.exe to be in the release folder.
-->
<Project DefaultTargets="NightlyBuild" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Setup -->
<PropertyGroup>
<DestFolder>Deploy\</DestFolder>
<Configuration>Release</Configuration>
</PropertyGroup>
<!-- Build all the main cproj files.-->
<ItemGroup>
<ProjectsToBuild Include="HandBrake.Interop\HandBrakeInterop\*proj" Exclude="$(MSBuildProjectFile)"/>
<ProjectsToBuild Include="HandBrake.ApplicationServices\*proj" Exclude="$(MSBuildProjectFile)"/>
<ProjectsToBuild Include="HandBrakeCS.*proj" Exclude="$(MSBuildProjectFile)"/>
</ItemGroup>
<!-- Dependencies -->
<PropertyGroup>
<NightlyDependsOn>Nightly;NightlyPostBuildEvent</NightlyDependsOn>
</PropertyGroup>
<!-- Builds -->
<Target Name="NightlyBuild" DependsOnTargets="$(NightlyDependsOn)"/>
<!-- Build Components -->
<Target Name="Nightly">
<MSBuild Projects ="@(ProjectsToBuild)"
ContinueOnError ="false"
Properties="Configuration=$(Configuration)" >
<Output ItemName="OutputFiles" TaskParameter="TargetOutputs"/>
</MSBuild>
</Target>
<!-- Events -->
<Target Name="NightlyPostBuildEvent">
<Exec Command="copy $(ProjectDir)Installer\MakeNightly.nsi $(ProjectDir)bin\x86\Release /Y" />
<Exec Command="copy $(ProjectDir)handbrakepineapple.ico $(ProjectDir)bin\x86\Release /Y" />
<Exec Command="xcopy $(ProjectDir)doc $(ProjectDir)bin\x86\Release\doc /I /Y" />
<Exec Command="makensis $(ProjectDir)bin\x86\Release\MakeNightly.nsi" />
</Target>
</Project>
|