2010-10-02 23:45:34 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2010-10-04 13:49:08 +00:00
|
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2010-10-02 22:16:59 +00:00
|
|
|
<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>
|
|
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
|
|
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="..\..\Source\Build.Tasks\Common.xml" />
|
|
|
|
<PropertyGroup>
|
|
|
|
<ProjectGuid>{ADC34399-7613-44D2-90B2-19250F06FE7A}</ProjectGuid>
|
|
|
|
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
|
|
|
<TargetFrameworkProfile />
|
|
|
|
</PropertyGroup>
|
2010-10-02 22:43:14 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<None Include="opentk.nsi" />
|
|
|
|
</ItemGroup>
|
2010-10-02 22:16:59 +00:00
|
|
|
<Target Name="Build">
|
|
|
|
<DateStamp>
|
|
|
|
<Output TaskParameter="Date" PropertyName="ShortDate" />
|
|
|
|
</DateStamp>
|
2010-10-02 23:45:34 +00:00
|
|
|
<Run Command="makensis opentk.nsi" />
|
|
|
|
<Copy SourceFiles=".\opentk.exe" DestinationFiles="..\..\opentk-1.0.$(ShortDate).exe" />
|
2010-10-02 22:16:59 +00:00
|
|
|
</Target>
|
|
|
|
<Target Name="Clean">
|
|
|
|
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
|
2010-10-02 23:45:34 +00:00
|
|
|
<FilesToDelete Include=".\opentk.exe;..\..\opentk-1.0.*.exe" />
|
2010-10-02 22:16:59 +00:00
|
|
|
</ItemGroup>
|
|
|
|
<Delete Files="@(FilesToDelete)" Condition="'$(OS)' == 'Windows_NT'" />
|
2010-10-02 23:45:34 +00:00
|
|
|
<Exec Command="rm .\opentk.exe" Condition="'$(OS)' != 'Windows_NT'" />
|
2010-10-02 22:16:59 +00:00
|
|
|
<Exec Command="rm ..\..\opentk-1.0.*.exe" Condition="'$(OS)' != 'Windows_NT'" />
|
|
|
|
</Target>
|
2010-10-02 23:45:34 +00:00
|
|
|
</Project>
|