Remove SubWCRev build step

This commit is contained in:
Thomas Goyne 2012-11-01 08:54:56 -07:00
parent b2a5fe406c
commit 8c3f556387
2 changed files with 0 additions and 92 deletions

View file

@ -32,47 +32,6 @@
$Id$
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Update svn revision data file-target -->
<PropertyGroup>
<TSVNDir Condition="'$(TSVNDir)'==''">$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\TortoiseSVN@Directory)</TSVNDir>
<TSVNDir Condition="'$(TSVNDir)'==''">$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TortoiseSVN@Directory)</TSVNDir>
<SubWCRevExe Condition="'$(SubWCRevExe)'==''">$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\SubWCRev.exe)</SubWCRevExe>
<SubWCRevExe Condition="'$(SubWCRevExe)'==''">$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths\SubWCRev.exe)</SubWCRevExe>
<SubWCRevExe Condition="'$(SubWCRevExe)'==''">$(TSVNDir)\bin\SubWCRev.exe</SubWCRevExe>
</PropertyGroup>
<Target
Name="SubWCRev"
BeforeTargets="ClCompile"
DependsOnTargets="PrepareForBuild"
>
<Error
Condition="!Exists('$(SubWCRevExe)')"
Text="The SubWCRev.exe program was not found. If you already have TortoiseSVN installed, override the SubWCRevExe property to the location of the program."
/>
<Error
Condition="!Exists('%(SubWCRev.Repository)')"
Text="The working copy was not found. Location specified: %(SubWCRev.Repository)"
/>
<Error
Condition="!Exists('%(SubWCRev.InputFile)')"
Text="The template file was not found. Location specified: %(SubWCRev.InputFile)"
/>
<Exec
Command="&quot;$(SubWCRevExe)&quot; &quot;%(SubWCRev.Repository)&quot; &quot;%(SubWCRev.InputFile)&quot; &quot;%(SubWCRev.OutputFile)&quot;"
Outputs="%(SubWCRevExe.Output)"
/>
</Target>
<ItemDefinitionGroup>
<SubWCRev>
<InputFile >$(AegisubSourceBase)build\svn-revision-base.h</InputFile>
<OutputFile>$(AegisubSourceBase)build\svn-revision.h</OutputFile>
<Repository>$(AegisubSourceBase)\.</Repository>
</SubWCRev>
</ItemDefinitionGroup>
<ItemGroup>
<SubWCRev Include="$(AegisubSourceBase)build\svn-revision-base.h" />
</ItemGroup>
<!-- Create build configuration file if it does not exist-target -->
<Target

View file

@ -275,55 +275,4 @@
</StringProperty.DataSource>
</StringProperty>
<StringProperty
Name="SubWCRevExe"
Subtype="file"
Category="BuildInfo"
DisplayName="SubWCRev.exe"
Description="Location of the SubWCRev.exe file used to process SVN working copies. Changes to this setting are stored in user settings, not in the main project file."
Default="SubWCRev.exe"
>
<StringProperty.DataSource>
<DataSource Persistence="UserFile" ItemType="" HasConfigurationCondition="false" />
</StringProperty.DataSource>
</StringProperty>
<StringProperty
Name="InputFile"
Subtype="file"
Category="BuildInfo"
DisplayName="Input file"
Description="Template file to insert data to."
ReadOnly="true"
>
<StringProperty.DataSource>
<DataSource Persistence="ProjectFile" ItemType="SubWCRev" HasConfigurationCondition="false" />
</StringProperty.DataSource>
</StringProperty>
<StringProperty
Name="OutputFile"
Subtype="file"
Category="BuildInfo"
DisplayName="Output file"
Description="File to generate from the template file."
ReadOnly="true"
>
<StringProperty.DataSource>
<DataSource Persistence="ProjectFile" ItemType="SubWCRev" HasConfigurationCondition="false" />
</StringProperty.DataSource>
</StringProperty>
<StringProperty
Name="Repository"
Subtype="folder"
Category="BuildInfo"
DisplayName="Working copy location"
Description="Location of SVN working copy to extract data from."
ReadOnly="true"
>
<StringProperty.DataSource>
<DataSource Persistence="ProjectFile" ItemType="SubWCRev" HasConfigurationCondition="false" />
</StringProperty.DataSource>
</StringProperty>
</Rule>