mirror of https://github.com/odrling/Aegisub
Remove SubWCRev build step
This commit is contained in:
parent
b2a5fe406c
commit
8c3f556387
|
@ -32,47 +32,6 @@
|
||||||
$Id$
|
$Id$
|
||||||
-->
|
-->
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<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=""$(SubWCRevExe)" "%(SubWCRev.Repository)" "%(SubWCRev.InputFile)" "%(SubWCRev.OutputFile)""
|
|
||||||
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 -->
|
<!-- Create build configuration file if it does not exist-target -->
|
||||||
<Target
|
<Target
|
||||||
|
|
|
@ -275,55 +275,4 @@
|
||||||
</StringProperty.DataSource>
|
</StringProperty.DataSource>
|
||||||
</StringProperty>
|
</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>
|
</Rule>
|
||||||
|
|
Loading…
Reference in New Issue