You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
3.4 KiB
73 lines
3.4 KiB
9 years ago
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
|
<!-- Import Microsoft.Common.Props -->
|
||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||
|
|
||
|
<!-- Project targeting defaults -->
|
||
|
<PropertyGroup>
|
||
|
<TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == ''">v5.0</TargetFrameworkVersion>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<!-- Common repo directories -->
|
||
|
<PropertyGroup>
|
||
|
<ProjectDir>$(MSBuildThisFileDirectory)..\</ProjectDir>
|
||
|
<SourceDir>$(ProjectDir)src/</SourceDir>
|
||
|
<DepsDir>$(ProjectDir)deps\</DepsDir>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<!-- Set default Configuration and Platform -->
|
||
|
<PropertyGroup>
|
||
|
<Platform Condition="'$(Platform)'=='' and '$(OutputType)' == 'Exe'">x64</Platform>
|
||
|
<Platform Condition="'$(Platform)'==''">AnyCPU</Platform>
|
||
|
|
||
|
<Configuration Condition="'$(Configuration)'=='' and '$(OutputType)' == 'Exe'">Windows_Debug</Configuration>
|
||
|
<Configuration Condition="'$(Configuration)'==''">Debug</Configuration>
|
||
|
<ConfigurationGroup Condition="$(Configuration.EndsWith('Debug'))">Debug</ConfigurationGroup>
|
||
|
<ConfigurationGroup Condition="$(Configuration.EndsWith('Release'))">Release</ConfigurationGroup>
|
||
|
<ConfigurationGroup Condition="'$(ConfigurationGroup)'==''">$(Configuration)</ConfigurationGroup>
|
||
|
|
||
|
<TargetsWindows Condition="$(Configuration.StartsWith('Windows'))">true</TargetsWindows>
|
||
|
<TargetsUbuntu Condition="$(Configuration.StartsWith('Ubuntu'))">true</TargetsUbuntu>
|
||
|
<TargetsOSX Condition="$(Configuration.StartsWith('OSX'))">true</TargetsOSX>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<!-- Set up Default symbol and optimization for Configuration -->
|
||
|
<PropertyGroup Condition="'$(ConfigurationGroup)' == 'Debug'">
|
||
|
<DebugSymbols Condition="'$(DebugSymbols)' == ''">true</DebugSymbols>
|
||
|
<Optimize Condition="'$(Optimize)' == ''">false</Optimize>
|
||
|
<DebugType Condition="'$(DebugType)' == ''">full</DebugType>
|
||
|
<DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants>
|
||
|
</PropertyGroup>
|
||
|
<PropertyGroup Condition="'$(ConfigurationGroup)' == 'Release'">
|
||
|
<DebugSymbols Condition="'$(DebugSymbols)' == ''">true</DebugSymbols>
|
||
|
<Optimize Condition="'$(Optimize)' == ''">true</Optimize>
|
||
|
<DebugType Condition="'$(DebugType)' == ''">pdbonly</DebugType>
|
||
|
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<PropertyGroup Condition="'$(TargetsWindows)' == 'true'">
|
||
|
<BaseNuGetRuntimeIdentifier>win10</BaseNuGetRuntimeIdentifier>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<PropertyGroup Condition="'$(TargetsUbuntu)' == 'true'">
|
||
|
<BaseNuGetRuntimeIdentifier>ubuntu.14.04</BaseNuGetRuntimeIdentifier>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<PropertyGroup Condition="'$(TargetsOSX)' == 'true'">
|
||
|
<BaseNuGetRuntimeIdentifier>osx.10.10</BaseNuGetRuntimeIdentifier>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<PropertyGroup Condition="'$(Platform)' == 'x64'">
|
||
|
<PlatformTarget>x64</PlatformTarget>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<PropertyGroup>
|
||
|
<!-- Output directories -->
|
||
|
<BinDir Condition="'$(BinDir)'==''">$(ProjectDir)bin/</BinDir>
|
||
|
<ObjDir Condition="'$(ObjDir)'==''">$(BinDir)obj/</ObjDir>
|
||
|
|
||
|
<OutputPath>$(BinDir)$(Platform)/$(Configuration)/$(MSBuildProjectName)</OutputPath>
|
||
|
<IntermediateOutputPath>$(ObjDir)$(Platform)/$(Configuration)/$(MSBuildProjectName)</IntermediateOutputPath>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
</Project>
|