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>..\..\Binaries\OpenTK\Release</OutputPath>
5
    <DefineConstants>TRACE</DefineConstants>
6
    <Optimize>true</Optimize>
7
  </PropertyGroup>
8
  <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
9
    <OutputPath>..\..\Binaries\OpenTK\Debug</OutputPath>
10
    <DefineConstants>TRACE;DEBUG</DefineConstants>
11
    <Optimize>false</Optimize>
12
  </PropertyGroup>
13
  <PropertyGroup Condition="'$(Configuration)' == 'Release'">
14
    <OutputPath>..\..\Binaries\OpenTK\Release</OutputPath>
15
    <Optimize>true</Optimize>
16
    <DefineConstants>TRACE</DefineConstants>
17
  </PropertyGroup>
18
  <PropertyGroup Condition="'$(Configuration)' == 'Nsis'">
19
    <OutputPath>..\..\Binaries\OpenTK\Release</OutputPath>
20
    <Optimize>true</Optimize>
21
    <DefineConstants>TRACE</DefineConstants>
22
  </PropertyGroup>
23
  <PropertyGroup>
24
    <ProjectGuid>{75DC22B1-113F-4A66-96B9-2FF8208C10E8}</ProjectGuid>
25
    <AssemblyName>Build.UpdateVersion</AssemblyName>
26
    <RootNamespace>Build.UpdateVersion</RootNamespace>
27
    <OutputType>Exe</OutputType>
28
    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
29
  </PropertyGroup>
30
  <ItemGroup>
31
    <Compile Include="Program.cs" />
32
  </ItemGroup>
33
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
34
  <PropertyGroup>
35
    <PreBuildEvent>
36
    </PreBuildEvent>
37
    <PostBuildEvent>
38
    </PostBuildEvent>
39
  </PropertyGroup>
40
  <Target Name="BeforeBuild">
41
    <Delete Files="..\..\Version.txt" />
42
  </Target>
43
  <Target Name="AfterBuild">
44
    <Exec Command="$(OutputPath)\Build.UpdateVersion.exe" Condition="$(OS) == 'Windows_NT'" />
45
    <Exec Command="mono $(OutputPath)\Build.UpdateVersion.exe" Condition="$(OS) != 'Windows_NT'" />
46
  </Target>
47
</Project>