2013-10-11 01:58:54 +02: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>
|
|
|
|
<PropertyGroup>
|
|
|
|
<ProjectGuid>{ADC34399-7613-44D2-90B2-19250F06FE7A}</ProjectGuid>
|
|
|
|
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
|
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
|
|
<ProductVersion>10.0.0</ProductVersion>
|
|
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
|
|
<OutputType>Exe</OutputType>
|
|
|
|
<AssemblyName>Build.Installer.Nsis</AssemblyName>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Documentation|AnyCPU' ">
|
|
|
|
<DebugType>none</DebugType>
|
|
|
|
<Optimize>False</Optimize>
|
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
|
<DebugType>none</DebugType>
|
|
|
|
<Optimize>False</Optimize>
|
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
|
|
<DebugType>none</DebugType>
|
|
|
|
<Optimize>False</Optimize>
|
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Nsis|AnyCPU' ">
|
|
|
|
<DebugType>none</DebugType>
|
|
|
|
<Optimize>False</Optimize>
|
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<None Include="opentk.nsi" />
|
|
|
|
</ItemGroup>
|
|
|
|
<Target Name="Build">
|
|
|
|
<Exec Command="makensis opentk.nsi" />
|
2013-12-15 12:01:26 +01:00
|
|
|
<ReadLinesFromFile File="../../Timestamp.txt">
|
2013-10-11 01:58:54 +02:00
|
|
|
<Output TaskParameter="Lines" ItemName="Version" />
|
|
|
|
</ReadLinesFromFile>
|
2013-12-05 12:05:26 +01:00
|
|
|
<Move SourceFiles=".\opentk.exe" DestinationFiles="@(Version->'../../opentk-%(Identity).exe')" />
|
2013-10-11 01:58:54 +02:00
|
|
|
</Target>
|
|
|
|
<Target Name="Clean">
|
|
|
|
<CreateItem Include=".\opentk.exe;..\..\opentk-*.exe">
|
|
|
|
<Output TaskParameter="Include" ItemName="FilesToDelete" />
|
|
|
|
</CreateItem>
|
|
|
|
<Delete Files="@(FilesToDelete)" />
|
|
|
|
</Target>
|
|
|
|
<Target Name="Rebuild">
|
|
|
|
<CallTarget Targets="Clean" />
|
|
|
|
<CallTarget Targets="Build" />
|
|
|
|
</Target>
|
|
|
|
</Project>
|