Opentk/Installers/Nsis/Build.Installer.Nsis.csproj

46 lines
1.8 KiB
XML
Raw Normal View History

2010-10-02 23:45:34 +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>
<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>
<ItemGroup>
<None Include="opentk.nsi" />
</ItemGroup>
<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" />
</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" />
</ItemGroup>
<Delete Files="@(FilesToDelete)" Condition="'$(OS)' == 'Windows_NT'" />
<Exec Command="rm -f .\opentk.exe" Condition="'$(OS)' != 'Windows_NT'" />
<Exec Command="rm -f ..\..\opentk-1.0.*.exe" Condition="'$(OS)' != 'Windows_NT'" />
</Target>
2010-10-04 21:28:58 +00:00
<Target Name="Rebuild">
<CallTarget Targets="Clean" />
<CallTarget Targets="Build" />
</Target>
2010-10-02 23:45:34 +00:00
</Project>