mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-08 23:35:32 +00:00
Fixed OutputPath on xbuild.
This commit is contained in:
parent
de1fa768c8
commit
8c3e19388b
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?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>
|
||||
|
@ -27,15 +27,15 @@
|
|||
<DateStamp>
|
||||
<Output TaskParameter="Date" PropertyName="ShortDate" />
|
||||
</DateStamp>
|
||||
<Run Command="makensis opentk.nsi" WorkingDirectory="$(OutputPath)" />
|
||||
<Copy SourceFiles="$(OutputPath)\opentk.exe" DestinationFiles="..\..\opentk-1.0.$(ShortDate).exe" />
|
||||
<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="$(OutputPath)\opentk.exe;..\..\opentk-1.0.*.exe" />
|
||||
<FilesToDelete Include=".\opentk.exe;..\..\opentk-1.0.*.exe" />
|
||||
</ItemGroup>
|
||||
<Delete Files="@(FilesToDelete)" Condition="'$(OS)' == 'Windows_NT'" />
|
||||
<Exec Command="rm $(OutputPath)\opentk.exe" 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>
|
||||
</Project>
|
||||
|
|
Loading…
Reference in a new issue