2010-10-04 21:30:42 +00:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Documentation'">
|
|
|
|
|
<OutputPath>.</OutputPath>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
|
|
|
|
<OutputPath>.</OutputPath>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
|
|
|
<OutputPath>.</OutputPath>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Nsis'">
|
|
|
|
|
<OutputPath>.</OutputPath>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<ProjectGuid>{75DC22B1-113F-4A66-96B9-2FF8208C10E8}</ProjectGuid>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="..\Build.Tasks\Common.xml" />
|
|
|
|
|
<Target Name="UpdateVersion">
|
2010-10-06 08:47:01 +00:00
|
|
|
|
<Delete Files="..\..\Version.txt" />
|
|
|
|
|
<GenerateAssemblyInfo
|
|
|
|
|
OutputFile="..\GlobalAssemblyInfo.cs"
|
|
|
|
|
AssemblyCompany="The Open Toolkit Library"
|
|
|
|
|
AssemblyProduct="The Open Toolkit Library"
|
|
|
|
|
AssemblyCopyright="Copyright © 2006 - 2010 the Open Toolkit Library"
|
|
|
|
|
AssemblyTrademark="OpenTK"
|
|
|
|
|
Major="1"
|
|
|
|
|
Minor="0" />
|
|
|
|
|
<!-- Fails because xbuild does not respect %3b
|
|
|
|
|
<DateStamp>
|
|
|
|
|
<Output TaskParameter="Date" PropertyName="ShortDate" />
|
|
|
|
|
</DateStamp>
|
|
|
|
|
<WriteLinesToFile File="..\GlobalAssemblyInfo.cs" Overwrite="true"
|
|
|
|
|
Lines='// This file is auto-generated through Build.UpdateVersion.csproj.;
|
|
|
|
|
// Do not edit by hand!;
|
|
|
|
|
using System%3b;
|
|
|
|
|
using System.Reflection%3b;
|
|
|
|
|
using System.Resources%3b;
|
|
|
|
|
using System.Runtime.CompilerServices%3b;
|
|
|
|
|
using System.Runtime.Runtime.InteropServices%3b;
|
|
|
|
|
;
|
|
|
|
|
[assembly: AssemblyCompany("The Open Toolkit Library")];
|
|
|
|
|
[assembly: AssemblyProduct("The Open Toolkit Library")];
|
|
|
|
|
[assembly: AssemblyCopyright("Copyright © 2006 - 2010 the Open Toolkit Library")];
|
|
|
|
|
[assembly: AssemblyTrademark("OpenTK")];
|
|
|
|
|
[assembly: AssemblyVersion("1.0.0.0")];
|
|
|
|
|
[assembly: AssemblyFileVersion("1.0.$(ShortDate)")];
|
|
|
|
|
' />
|
|
|
|
|
-->
|
2010-10-04 21:30:42 +00:00
|
|
|
|
</Target>
|
|
|
|
|
<Target Name="Build">
|
|
|
|
|
<CallTarget Targets="UpdateVersion" />
|
|
|
|
|
</Target>
|
|
|
|
|
<Target Name="Rebuild">
|
2010-10-06 08:47:01 +00:00
|
|
|
|
<CallTarget Targets="Clean" />
|
|
|
|
|
<CallTarget Targets="Build" />
|
2010-10-04 23:02:31 +00:00
|
|
|
|
</Target>
|
|
|
|
|
<Target Name="Clean" />
|
|
|
|
|
</Project>
|