Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1452 chris 1
<?xml version="1.0" encoding="utf-8"?>
2
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
  <PropertyGroup Condition="'$(Configuration)' == 'Documentation'">
4
    <OutputPath>.</OutputPath>
5
  </PropertyGroup>
6
  <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
7
    <OutputPath>.</OutputPath>
8
  </PropertyGroup>
9
  <PropertyGroup Condition="'$(Configuration)' == 'Release'">
10
    <OutputPath>.</OutputPath>
11
  </PropertyGroup>
12
  <PropertyGroup Condition="'$(Configuration)' == 'Nsis'">
13
    <OutputPath>.</OutputPath>
14
    <PlatformTarget>AnyCPU</PlatformTarget>
15
    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
16
  </PropertyGroup>
17
  <PropertyGroup>
18
    <ProjectGuid>{ADC34399-7613-44D2-90B2-19250F06FE7A}</ProjectGuid>
19
    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
20
    <TargetFrameworkProfile />
21
  </PropertyGroup>
22
  <ItemGroup>
23
    <None Include="opentk.nsi" />
24
  </ItemGroup>
25
  <Target Name="Build">
26
    <Exec Command="makensis opentk.nsi" />
27
    <ReadLinesFromFile File="../../Version.txt">
28
      <Output TaskParameter="Lines" ItemName="Version"/>
29
    </ReadLinesFromFile>
30
    <Copy SourceFiles=".\opentk.exe" DestinationFiles="@(Version->'../../opentk-%(Identity).exe')" />
31
  </Target>
32
  <Target Name="Clean">
33
    <CreateItem Include=".\opentk.exe;..\..\opentk-*.exe">
34
      <Output TaskParameter="Include" ItemName="FilesToDelete" />
35
    </CreateItem>
36
    <Delete Files="@(FilesToDelete)" />
37
  </Target>
38
  <Target Name="Rebuild">
39
    <CallTarget Targets="Clean" />
40
    <CallTarget Targets="Build" />
41
  </Target>
42
</Project>