summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj14
-rw-r--r--win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInterop.csproj8
-rw-r--r--win/CS/HandBrake10.sln63
-rw-r--r--win/CS/HandBrakeCS.csproj58
-rw-r--r--win/CS/build.xml55
5 files changed, 64 insertions, 134 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
index acef58fbd..55fa4a380 100644
--- a/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
+++ b/win/CS/HandBrake.ApplicationServices/HandBrake.ApplicationServices.csproj
@@ -21,28 +21,24 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Release\</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NightlyBuild|x86'">
- <PlatformTarget>x86</PlatformTarget>
- <OutputPath>bin\x86\NightlyBuild\</OutputPath>
<Optimize>true</Optimize>
- <DefineConstants>TRACE</DefineConstants>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Debug\</OutputPath>
+ <DefineConstants>TRACE;DEBUG</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Release\</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NightlyBuild|x64'">
- <PlatformTarget>x64</PlatformTarget>
- <OutputPath>bin\x64\NightlyBuild\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <Optimize>true</Optimize>
</PropertyGroup>
<ItemGroup>
<Reference Include="Growl.Connector, Version=2.0.0.0, Culture=neutral, PublicKeyToken=980c2339411be384, processorArchitecture=MSIL">
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInterop.csproj b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInterop.csproj
index f67900985..e1bb916c5 100644
--- a/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInterop.csproj
+++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HandBrakeInterop.csproj
@@ -85,7 +85,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
@@ -100,12 +100,6 @@
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NightlyBuild|x86'">
- <OutputPath>bin\x86\NightlyBuild\</OutputPath>
- <PlatformTarget>x86</PlatformTarget>
- <Optimize>true</Optimize>
- <DefineConstants>TRACE</DefineConstants>
- </PropertyGroup>
<ItemGroup>
<Reference Include="PresentationCore">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
diff --git a/win/CS/HandBrake10.sln b/win/CS/HandBrake10.sln
index 03bc9fdc2..93a1287c3 100644
--- a/win/CS/HandBrake10.sln
+++ b/win/CS/HandBrake10.sln
@@ -20,14 +20,6 @@ Global
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
- Install|Any CPU = Install|Any CPU
- Install|Mixed Platforms = Install|Mixed Platforms
- Install|x64 = Install|x64
- Install|x86 = Install|x86
- NightlyBuild|Any CPU = NightlyBuild|Any CPU
- NightlyBuild|Mixed Platforms = NightlyBuild|Mixed Platforms
- NightlyBuild|x64 = NightlyBuild|x64
- NightlyBuild|x86 = NightlyBuild|x86
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
Release|x64 = Release|x64
@@ -41,45 +33,20 @@ Global
{A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Debug|x64.ActiveCfg = Debug|x86
{A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Debug|x86.ActiveCfg = Debug|x86
{A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Debug|x86.Build.0 = Debug|x86
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Install|Any CPU.ActiveCfg = Install|x64
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Install|Mixed Platforms.ActiveCfg = Install|x86
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Install|Mixed Platforms.Build.0 = Install|x86
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Install|x64.ActiveCfg = Install|x86
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Install|x86.ActiveCfg = Install|x86
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Install|x86.Build.0 = Install|x86
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.NightlyBuild|Any CPU.ActiveCfg = NightlyBuild|x64
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.NightlyBuild|Mixed Platforms.ActiveCfg = NightlyBuild|x86
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.NightlyBuild|Mixed Platforms.Build.0 = NightlyBuild|x86
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.NightlyBuild|x64.ActiveCfg = NightlyBuild|x86
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.NightlyBuild|x86.ActiveCfg = NightlyBuild|x86
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.NightlyBuild|x86.Build.0 = NightlyBuild|x86
- {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Release|Any CPU.ActiveCfg = Release|x64
+ {A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Release|Any CPU.ActiveCfg = Release|x86
{A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Release|Mixed Platforms.ActiveCfg = Release|x86
{A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Release|Mixed Platforms.Build.0 = Release|x86
{A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Release|x64.ActiveCfg = Release|x86
{A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Release|x86.ActiveCfg = Release|x86
{A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}.Release|x86.Build.0 = Release|x86
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.Debug|Any CPU.ActiveCfg = Debug|x64
+ {087A2BA8-BAC2-4577-A46F-07FF9D420016}.Debug|Any CPU.ActiveCfg = Debug|x86
{087A2BA8-BAC2-4577-A46F-07FF9D420016}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{087A2BA8-BAC2-4577-A46F-07FF9D420016}.Debug|Mixed Platforms.Build.0 = Debug|x86
{087A2BA8-BAC2-4577-A46F-07FF9D420016}.Debug|x64.ActiveCfg = Debug|x64
{087A2BA8-BAC2-4577-A46F-07FF9D420016}.Debug|x64.Build.0 = Debug|x64
{087A2BA8-BAC2-4577-A46F-07FF9D420016}.Debug|x86.ActiveCfg = Debug|x86
{087A2BA8-BAC2-4577-A46F-07FF9D420016}.Debug|x86.Build.0 = Debug|x86
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.Install|Any CPU.ActiveCfg = NightlyBuild|x64
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.Install|Mixed Platforms.ActiveCfg = NightlyBuild|x86
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.Install|Mixed Platforms.Build.0 = NightlyBuild|x86
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.Install|x64.ActiveCfg = NightlyBuild|x64
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.Install|x64.Build.0 = NightlyBuild|x64
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.Install|x86.ActiveCfg = Release|x64
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.NightlyBuild|Any CPU.ActiveCfg = NightlyBuild|x64
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.NightlyBuild|Mixed Platforms.ActiveCfg = NightlyBuild|x86
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.NightlyBuild|Mixed Platforms.Build.0 = NightlyBuild|x86
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.NightlyBuild|x64.ActiveCfg = NightlyBuild|x64
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.NightlyBuild|x64.Build.0 = NightlyBuild|x64
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.NightlyBuild|x86.ActiveCfg = NightlyBuild|x86
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.NightlyBuild|x86.Build.0 = NightlyBuild|x86
- {087A2BA8-BAC2-4577-A46F-07FF9D420016}.Release|Any CPU.ActiveCfg = Release|x64
+ {087A2BA8-BAC2-4577-A46F-07FF9D420016}.Release|Any CPU.ActiveCfg = Release|x86
{087A2BA8-BAC2-4577-A46F-07FF9D420016}.Release|Mixed Platforms.ActiveCfg = Release|x86
{087A2BA8-BAC2-4577-A46F-07FF9D420016}.Release|Mixed Platforms.Build.0 = Release|x86
{087A2BA8-BAC2-4577-A46F-07FF9D420016}.Release|x64.ActiveCfg = Release|x64
@@ -92,18 +59,6 @@ Global
{DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Debug|x64.ActiveCfg = Debug|x86
{DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Debug|x86.ActiveCfg = Debug|x86
{DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Debug|x86.Build.0 = Debug|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Install|Any CPU.ActiveCfg = Release|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Install|Mixed Platforms.ActiveCfg = Release|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Install|Mixed Platforms.Build.0 = Release|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Install|x64.ActiveCfg = Release|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Install|x86.ActiveCfg = Release|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Install|x86.Build.0 = Release|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.NightlyBuild|Any CPU.ActiveCfg = Release|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.NightlyBuild|Mixed Platforms.ActiveCfg = Release|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.NightlyBuild|Mixed Platforms.Build.0 = Release|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.NightlyBuild|x64.ActiveCfg = Release|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.NightlyBuild|x86.ActiveCfg = Release|x86
- {DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.NightlyBuild|x86.Build.0 = Release|x86
{DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Release|Any CPU.ActiveCfg = Release|x86
{DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Release|Mixed Platforms.ActiveCfg = Release|x86
{DADE66CB-0E12-4959-ADE5-0ACD31D27C59}.Release|Mixed Platforms.Build.0 = Release|x86
@@ -117,18 +72,6 @@ Global
{F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Debug|x64.Build.0 = Debug|x64
{F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Debug|x86.ActiveCfg = Debug|x86
{F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Debug|x86.Build.0 = Debug|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Install|Any CPU.ActiveCfg = Release|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Install|Mixed Platforms.ActiveCfg = Release|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Install|Mixed Platforms.Build.0 = Release|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Install|x64.ActiveCfg = Release|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Install|x86.ActiveCfg = Release|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Install|x86.Build.0 = Release|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.NightlyBuild|Any CPU.ActiveCfg = Release|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.NightlyBuild|Mixed Platforms.ActiveCfg = NightlyBuild|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.NightlyBuild|Mixed Platforms.Build.0 = NightlyBuild|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.NightlyBuild|x64.ActiveCfg = Release|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.NightlyBuild|x86.ActiveCfg = NightlyBuild|x86
- {F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.NightlyBuild|x86.Build.0 = NightlyBuild|x86
{F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Release|Any CPU.ActiveCfg = Release|x86
{F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Release|Mixed Platforms.ActiveCfg = Release|x86
{F0A61F62-2C3B-4A87-AFF4-0C4256253DA1}.Release|Mixed Platforms.Build.0 = Release|x86
diff --git a/win/CS/HandBrakeCS.csproj b/win/CS/HandBrakeCS.csproj
index b697eb1b2..ed1d29c25 100644
--- a/win/CS/HandBrakeCS.csproj
+++ b/win/CS/HandBrakeCS.csproj
@@ -42,61 +42,26 @@
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Debug\</OutputPath>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Release\</OutputPath>
<UseVSHostingProcess>false</UseVSHostingProcess>
- <DefineConstants>TRACE;DEBUG</DefineConstants>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
<Optimize>true</Optimize>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Build|x86' ">
- <OutputPath>bin\x86\Build\</OutputPath>
- <PlatformTarget>x86</PlatformTarget>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Install|x86'">
- <OutputPath>bin\x86\Install\</OutputPath>
- <DefineConstants>TRACE;DEBUG</DefineConstants>
- <Optimize>true</Optimize>
- <PlatformTarget>x86</PlatformTarget>
- <CodeAnalysisLogFile>bin\x86\Release\Handbrake.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
- <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
- <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
- <UseVSHostingProcess>false</UseVSHostingProcess>
- <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- <CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
- <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
- <CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
- <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
- <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NightlyBuild|x86'">
- <OutputPath>bin\x86\NightlyBuild\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <Optimize>true</Optimize>
- <PlatformTarget>x86</PlatformTarget>
- </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<PlatformTarget>x64</PlatformTarget>
<OutputPath>bin\x64\Release\</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Build|x64'">
- <PlatformTarget>x64</PlatformTarget>
- <OutputPath>bin\x64\Build\</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Install|x64'">
- <PlatformTarget>x64</PlatformTarget>
- <OutputPath>bin\x64\Install\</OutputPath>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'NightlyBuild|x64'">
- <PlatformTarget>x64</PlatformTarget>
- <OutputPath>bin\x64\NightlyBuild\</OutputPath>
+ <Optimize>true</Optimize>
+ <DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="Growl.Connector, Version=2.0.0.0, Culture=neutral, PublicKeyToken=980c2339411be384, processorArchitecture=x86">
@@ -451,19 +416,6 @@
</Target>
-->
<Import Project="$(ProgramFiles)\MSBuild\StyleCop\v4.5\StyleCop.targets" />
- <PropertyGroup Condition=" '$(Configuration)' == 'Install' ">
- <PostBuildEvent>
- makensis Installer.nsi
- </PostBuildEvent>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'NightlyBuild' ">
- <PostBuildEvent>
- copy "$(ProjectDir)Installer\MakeNightly.nsi" "$(ProjectDir)bin\x86\NightlyBuild" /Y
- copy "$(ProjectDir)handbrakepineapple.ico" "$(ProjectDir)bin\x86\NightlyBuild" /Y
- xcopy "$(ProjectDir)doc" "$(ProjectDir)bin\x86\NightlyBuild\doc" /I /Y
- makensis "$(ProjectDir)bin\x86\NightlyBuild\MakeNightly.nsi"
- </PostBuildEvent>
- </PropertyGroup>
<PropertyGroup>
<PreBuildEvent>
subwcrev.exe "$(ProjectDir)." "$(ProjectDir)Properties\AssemblyInfo.cs.tmpl" "$(ProjectDir)Properties\AssemblyInfo.cs"
diff --git a/win/CS/build.xml b/win/CS/build.xml
index 55d3852b4..d0c40cacb 100644
--- a/win/CS/build.xml
+++ b/win/CS/build.xml
@@ -1,6 +1,51 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets"/>
+<!--
+ 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>
- <!-- TODO -->
-</Project>
+ <!-- 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> \ No newline at end of file