mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 18:55:35 +00:00
76 lines
3 KiB
XML
76 lines
3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<ProjectGuid>{75DC22B1-113F-4A66-96B9-2FF8208C10E8}</ProjectGuid>
|
|
<AssemblyName>Build.UpdateVersion</AssemblyName>
|
|
<RootNamespace>Build.UpdateVersion</RootNamespace>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>10.0.0</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Documentation' ">
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<WarningLevel>4</WarningLevel>
|
|
<OutputPath>..\..\Binaries\Tools\Release\</OutputPath>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
|
<DebugSymbols>True</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<WarningLevel>4</WarningLevel>
|
|
<OutputPath>..\..\Binaries\Tools\Debug\</OutputPath>
|
|
<Optimize>false</Optimize>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<WarningLevel>4</WarningLevel>
|
|
<OutputPath>..\..\Binaries\Tools\Release\</OutputPath>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Nsis' ">
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<WarningLevel>4</WarningLevel>
|
|
<OutputPath>..\..\Binaries\Tools\Release\</OutputPath>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Program.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
|
|
<PropertyGroup>
|
|
<PreBuildEvent>
|
|
</PreBuildEvent>
|
|
<PostBuildEvent>
|
|
</PostBuildEvent>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugMinimal|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>..\..\Binaries\Tools\Debug\</OutputPath>
|
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseMinimal|AnyCPU' ">
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>..\..\Binaries\Tools\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<Target Name="BeforeBuild">
|
|
<Delete Files="..\..\Timestamp.txt" />
|
|
<Delete Files="..\..\Version.txt" />
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
<Exec Command="$(OutputPath)\Build.UpdateVersion.exe" Condition="$(OS) == 'Windows_NT'" />
|
|
<Exec Command="mono $(OutputPath)\Build.UpdateVersion.exe" Condition="$(OS) != 'Windows_NT'" />
|
|
</Target>
|
|
</Project>
|