summaryrefslogtreecommitdiffstats
path: root/win/CS/build.xml
diff options
context:
space:
mode:
authorScott <[email protected]>2015-08-27 14:05:42 +0100
committerScott <[email protected]>2015-08-27 14:05:42 +0100
commit861f8a5dec3d73b9c72279b226b39dce0e1b5dff (patch)
tree30460311a16f856cb4fe572aa2e41c8fa90eca90 /win/CS/build.xml
parentda0f11fb3448280950a1143456d1979394f66e04 (diff)
WinGui: Build fixes for git.
Diffstat (limited to 'win/CS/build.xml')
-rw-r--r--win/CS/build.xml50
1 files changed, 25 insertions, 25 deletions
diff --git a/win/CS/build.xml b/win/CS/build.xml
index f6e511dfa..383fff2c2 100644
--- a/win/CS/build.xml
+++ b/win/CS/build.xml
@@ -46,42 +46,42 @@
</MSBuild>
</Target>
- <!-- Pre Build Events. You must do a full checkout as it takes the svn from the main directory. $(ProjectDir). is not used. -->
+ <!-- Pre Build Events. You must do a full checkout as it takes the svn from the main directory. $(MSBuildProjectDirectory). is not used. -->
<Target Name="NightlyPreBuild">
- <!--<Exec Command="subwcrev.exe ../../ $(ProjectDir)HandBrakeWPF\Properties\AssemblyInfo.cs.Nightly.tmpl $(ProjectDir)HandBrakeWPF\Properties\AssemblyInfo.cs" />
- <Exec Command="subwcrev.exe ../../ $(ProjectDir)HandBrakeWPF\Installer\MakeNightly.nsi.tmpl $(ProjectDir)HandBrakeWPF\Installer\MakeNightly.nsi" Condition="$(Platform) == 'x86'" />
- <Exec Command="subwcrev.exe ../../ $(ProjectDir)HandBrakeWPF\Installer\MakeNightly64.nsi.tmpl $(ProjectDir)HandBrakeWPF\Installer\MakeNightly64.nsi" Condition="$(Platform) == 'x64'" />
- <Exec Command="subwcrev.exe ../../ $(ProjectDir)HandBrake.ApplicationServices\Properties\AssemblyInfo.cs.Nightly.tmpl $(ProjectDir)HandBrake.ApplicationServices\Properties\AssemblyInfo.cs" />-->
+ <!--<Exec Command="subwcrev.exe ../../ $(MSBuildProjectDirectory)HandBrakeWPF\Properties\AssemblyInfo.cs.Nightly.tmpl $(MSBuildProjectDirectory)HandBrakeWPF\Properties\AssemblyInfo.cs" />
+ <Exec Command="subwcrev.exe ../../ $(MSBuildProjectDirectory)HandBrakeWPF\Installer\MakeNightly.nsi.tmpl $(MSBuildProjectDirectory)HandBrakeWPF\Installer\MakeNightly.nsi" Condition="$(Platform) == 'x86'" />
+ <Exec Command="subwcrev.exe ../../ $(MSBuildProjectDirectory)HandBrakeWPF\Installer\MakeNightly64.nsi.tmpl $(MSBuildProjectDirectory)HandBrakeWPF\Installer\MakeNightly64.nsi" Condition="$(Platform) == 'x64'" />
+ <Exec Command="subwcrev.exe ../../ $(MSBuildProjectDirectory)HandBrake.ApplicationServices\Properties\AssemblyInfo.cs.Nightly.tmpl $(MSBuildProjectDirectory)HandBrake.ApplicationServices\Properties\AssemblyInfo.cs" />-->
</Target>
<Target Name="PreBuild">
- <!-- <Exec Command="subwcrev.exe ../../ $(ProjectDir)HandBrakeWPF\Properties\AssemblyInfo.cs.tmpl $(ProjectDir)HandBrakeWPF\Properties\AssemblyInfo.cs" />
- <Exec Command="subwcrev.exe ../../ $(ProjectDir)HandBrakeWPF\Installer\MakeNightly.nsi.tmpl $(ProjectDir)HandBrakeWPF\Installer\MakeNightly.nsi" Condition="$(Platform) == 'x86'" />
- <Exec Command="subwcrev.exe ../../ $(ProjectDir)HandBrakeWPF\Installer\MakeNightly64.nsi.tmpl $(ProjectDir)HandBrakeWPF\Installer\MakeNightly64.nsi" Condition="$(Platform) == 'x64'" />
- <Exec Command="subwcrev.exe ../../ $(ProjectDir)HandBrake.ApplicationServices\Properties\AssemblyInfo.cs.tmpl $(ProjectDir)HandBrake.ApplicationServices\Properties\AssemblyInfo.cs" />-->
+ <!-- <Exec Command="subwcrev.exe ../../ $(MSBuildProjectDirectory)HandBrakeWPF\Properties\AssemblyInfo.cs.tmpl $(MSBuildProjectDirectory)HandBrakeWPF\Properties\AssemblyInfo.cs" />
+ <Exec Command="subwcrev.exe ../../ $(MSBuildProjectDirectory)HandBrakeWPF\Installer\MakeNightly.nsi.tmpl $(MSBuildProjectDirectory)HandBrakeWPF\Installer\MakeNightly.nsi" Condition="$(Platform) == 'x86'" />
+ <Exec Command="subwcrev.exe ../../ $(MSBuildProjectDirectory)HandBrakeWPF\Installer\MakeNightly64.nsi.tmpl $(MSBuildProjectDirectory)HandBrakeWPF\Installer\MakeNightly64.nsi" Condition="$(Platform) == 'x64'" />
+ <Exec Command="subwcrev.exe ../../ $(MSBuildProjectDirectory)HandBrake.ApplicationServices\Properties\AssemblyInfo.cs.tmpl $(MSBuildProjectDirectory)HandBrake.ApplicationServices\Properties\AssemblyInfo.cs" />-->
</Target>
<!-- Post Build Events -->
<Target Name="NightlyPostBuild">
- <Exec Command="copy $(ProjectDir)HandBrakeWPF\Installer\MakeNightly.nsi $(ProjectDir)HandBrakeWPF\bin\x86\Release /Y" Condition="$(Platform) == 'x86'" />
- <Exec Command="copy $(ProjectDir)HandBrakeWPF\Installer\MakeNightly64.nsi $(ProjectDir)HandBrakeWPF\bin\x64\Release /Y" Condition="$(Platform) == 'x64'" />
- <Exec Command="copy $(ProjectDir)HandBrakeWPF\handbrakepineapple.ico $(ProjectDir)HandBrakeWPF\bin\x86\Release /Y" Condition="$(Platform) == 'x86'" />
- <Exec Command="copy $(ProjectDir)HandBrakeWPF\handbrakepineapple.ico $(ProjectDir)HandBrakeWPF\bin\x64\Release /Y" Condition="$(Platform) == 'x64'" />
- <Exec Command="xcopy $(ProjectDir)doc $(ProjectDir)HandBrakeWPF\bin\x86\Release\doc /I /Y" Condition="$(Platform) == 'x86'" />
- <Exec Command="xcopy $(ProjectDir)doc $(ProjectDir)HandBrakeWPF\bin\x64\Release\doc /I /Y" Condition="$(Platform) == 'x64'" />
- <Exec Command="makensis $(ProjectDir)HandBrakeWPF\bin\x86\Release\MakeNightly.nsi" Condition="$(Platform) == 'x86'" />
- <Exec Command="makensis $(ProjectDir)HandBrakeWPF\bin\x64\Release\MakeNightly64.nsi" Condition="$(Platform) == 'x64'" />
+ <Exec Command="copy $(MSBuildProjectDirectory)HandBrakeWPF\Installer\MakeNightly.nsi $(MSBuildProjectDirectory)HandBrakeWPF\bin\x86\Release /Y" Condition="$(Platform) == 'x86'" />
+ <Exec Command="copy $(MSBuildProjectDirectory)HandBrakeWPF\Installer\MakeNightly64.nsi $(MSBuildProjectDirectory)HandBrakeWPF\bin\x64\Release /Y" Condition="$(Platform) == 'x64'" />
+ <Exec Command="copy $(MSBuildProjectDirectory)HandBrakeWPF\handbrakepineapple.ico $(MSBuildProjectDirectory)HandBrakeWPF\bin\x86\Release /Y" Condition="$(Platform) == 'x86'" />
+ <Exec Command="copy $(MSBuildProjectDirectory)HandBrakeWPF\handbrakepineapple.ico $(MSBuildProjectDirectory)HandBrakeWPF\bin\x64\Release /Y" Condition="$(Platform) == 'x64'" />
+ <Exec Command="xcopy $(MSBuildProjectDirectory)doc $(MSBuildProjectDirectory)HandBrakeWPF\bin\x86\Release\doc /I /Y" Condition="$(Platform) == 'x86'" />
+ <Exec Command="xcopy $(MSBuildProjectDirectory)doc $(MSBuildProjectDirectory)HandBrakeWPF\bin\x64\Release\doc /I /Y" Condition="$(Platform) == 'x64'" />
+ <Exec Command="makensis $(MSBuildProjectDirectory)HandBrakeWPF\bin\x86\Release\MakeNightly.nsi" Condition="$(Platform) == 'x86'" />
+ <Exec Command="makensis $(MSBuildProjectDirectory)HandBrakeWPF\bin\x64\Release\MakeNightly64.nsi" Condition="$(Platform) == 'x64'" />
</Target>
<Target Name="ReleasePostBuild">
- <Exec Command="copy $(ProjectDir)HandBrakeWPF\Installer\Installer.nsi $(ProjectDir)HandBrakeWPF\bin\x86\Release /Y" Condition="$(Platform) == 'x86'" />
- <Exec Command="copy $(ProjectDir)HandBrakeWPF\Installer\Installer64.nsi $(ProjectDir)HandBrakeWPF\bin\x64\Release /Y" Condition="$(Platform) == 'x64'" />
- <Exec Command="copy $(ProjectDir)HandBrakeWPF\handbrakepineapple.ico $(ProjectDir)HandBrakeWPF\bin\x86\Release /Y" Condition="$(Platform) == 'x86'" />
- <Exec Command="copy $(ProjectDir)HandBrakeWPF\handbrakepineapple.ico $(ProjectDir)HandBrakeWPF\bin\x64\Release /Y" Condition="$(Platform) == 'x64'" />
- <Exec Command="xcopy $(ProjectDir)doc $(ProjectDir)HandBrakeWPF\bin\x86\Release\doc /I /Y" Condition="$(Platform) == 'x86'" />
- <Exec Command="xcopy $(ProjectDir)doc $(ProjectDir)HandBrakeWPF\bin\x64\Release\doc /I /Y" Condition="$(Platform) == 'x64'" />
- <Exec Command="makensis $(ProjectDir)HandBrakeWPF\bin\x86\Release\Installer.nsi" Condition="$(Platform) == 'x86'" />
- <Exec Command="makensis $(ProjectDir)HandBrakeWPF\bin\x64\Release\Installer64.nsi" Condition="$(Platform) == 'x64'" />
+ <Exec Command="copy $(MSBuildProjectDirectory)HandBrakeWPF\Installer\Installer.nsi $(MSBuildProjectDirectory)HandBrakeWPF\bin\x86\Release /Y" Condition="$(Platform) == 'x86'" />
+ <Exec Command="copy $(MSBuildProjectDirectory)HandBrakeWPF\Installer\Installer64.nsi $(MSBuildProjectDirectory)HandBrakeWPF\bin\x64\Release /Y" Condition="$(Platform) == 'x64'" />
+ <Exec Command="copy $(MSBuildProjectDirectory)HandBrakeWPF\handbrakepineapple.ico $(MSBuildProjectDirectory)HandBrakeWPF\bin\x86\Release /Y" Condition="$(Platform) == 'x86'" />
+ <Exec Command="copy $(MSBuildProjectDirectory)HandBrakeWPF\handbrakepineapple.ico $(MSBuildProjectDirectory)HandBrakeWPF\bin\x64\Release /Y" Condition="$(Platform) == 'x64'" />
+ <Exec Command="xcopy $(MSBuildProjectDirectory)doc $(MSBuildProjectDirectory)HandBrakeWPF\bin\x86\Release\doc /I /Y" Condition="$(Platform) == 'x86'" />
+ <Exec Command="xcopy $(MSBuildProjectDirectory)doc $(MSBuildProjectDirectory)HandBrakeWPF\bin\x64\Release\doc /I /Y" Condition="$(Platform) == 'x64'" />
+ <Exec Command="makensis $(MSBuildProjectDirectory)HandBrakeWPF\bin\x86\Release\Installer.nsi" Condition="$(Platform) == 'x86'" />
+ <Exec Command="makensis $(MSBuildProjectDirectory)HandBrakeWPF\bin\x64\Release\Installer64.nsi" Condition="$(Platform) == 'x64'" />
</Target>
</Project> \ No newline at end of file