Fixed OutputPath on xbuild.

This commit is contained in:
the_fiddler 2010-10-02 23:45:34 +00:00
parent 31e558f446
commit f922a2c86e

View file

@ -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"> <Project ToolsVersion="2.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)' == 'Documentation'"> <PropertyGroup Condition="'$(Configuration)' == 'Documentation'">
<OutputPath>.</OutputPath> <OutputPath>.</OutputPath>
@ -27,15 +27,15 @@
<DateStamp> <DateStamp>
<Output TaskParameter="Date" PropertyName="ShortDate" /> <Output TaskParameter="Date" PropertyName="ShortDate" />
</DateStamp> </DateStamp>
<Run Command="makensis opentk.nsi" WorkingDirectory="$(OutputPath)" /> <Run Command="makensis opentk.nsi" />
<Copy SourceFiles="$(OutputPath)\opentk.exe" DestinationFiles="..\..\opentk-1.0.$(ShortDate).exe" /> <Copy SourceFiles=".\opentk.exe" DestinationFiles="..\..\opentk-1.0.$(ShortDate).exe" />
</Target> </Target>
<Target Name="Clean"> <Target Name="Clean">
<ItemGroup Condition="'$(OS)' == 'Windows_NT'"> <ItemGroup Condition="'$(OS)' == 'Windows_NT'">
<FilesToDelete Include="$(OutputPath)\opentk.exe;..\..\opentk-1.0.*.exe" /> <FilesToDelete Include=".\opentk.exe;..\..\opentk-1.0.*.exe" />
</ItemGroup> </ItemGroup>
<Delete Files="@(FilesToDelete)" Condition="'$(OS)' == 'Windows_NT'" /> <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'" /> <Exec Command="rm ..\..\opentk-1.0.*.exe" Condition="'$(OS)' != 'Windows_NT'" />
</Target> </Target>
</Project> </Project>