mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-27 22:05:39 +00:00
42 lines
1.7 KiB
XML
42 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="2.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>
|
|
<Run Command="makensis opentk.nsi" />
|
|
<Copy SourceFiles=".\opentk.exe" DestinationFiles="..\..\opentk-1.0.$(ShortDate).exe" />
|
|
</Target>
|
|
<Target Name="Clean">
|
|
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
|
|
<FilesToDelete Include=".\opentk.exe;..\..\opentk-1.0.*.exe" />
|
|
</ItemGroup>
|
|
<Delete Files="@(FilesToDelete)" Condition="'$(OS)' == 'Windows_NT'" />
|
|
<Exec Command="rm .\opentk.exe" Condition="'$(OS)' != 'Windows_NT'" />
|
|
<Exec Command="rm ..\..\opentk-1.0.*.exe" Condition="'$(OS)' != 'Windows_NT'" />
|
|
</Target>
|
|
</Project>
|