1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <!-- This file contains build properties that apply to product
4 projects and test projects. It's imported by
5 tests/dir.common.props, and the global dir.props. -->
8 <CoreclrDir>$(MSBuildThisFileDirectory)</CoreclrDir>
9 <PackagesDir>$(CoreclrDir)/packages</PackagesDir>
12 <!-- Set default Configuration and Platform -->
14 <BuildArch>$(__BuildArch)</BuildArch>
15 <BuildArch Condition="'$(__BuildArch)'==''">x64</BuildArch>
16 <BuildArch Condition="'$(__BuildArch)' == 'amd64'">x64</BuildArch>
18 <BuildType>$(__BuildType)</BuildType>
19 <BuildType Condition="'$(__BuildType)'==''">Debug</BuildType>
20 <BuildType Condition="'$(__BuildType)' == 'debug'">Debug</BuildType>
21 <BuildType Condition="'$(__BuildType)' == 'release'">Release</BuildType>
22 <BuildType Condition="'$(__BuildType)' == 'checked'">Checked</BuildType>
24 <BuildOS>$(__BuildOS)</BuildOS>
25 <BuildOS Condition="'$(__BuildOS)' == '' And '$([MSBuild]::IsOSPlatform(Windows))' == 'true'">Windows_NT</BuildOS>
26 <BuildOS Condition="'$(__BuildOS)' == '' And '$([MSBuild]::IsOSPlatform(Linux))' == 'true'">Linux</BuildOS>
27 <BuildOS Condition="'$(__BuildOS)' == '' And '$([MSBuild]::IsOSPlatform(OSX))' == 'true'">OSX</BuildOS>
28 <!-- TODO: converge on one property for BuildOS and __BuildOS, and remove this extra line. -->
29 <__BuildOS>$(BuildOS)</__BuildOS>
31 <Configuration Condition="'$(Configuration)' == ''">$(BuildType)</Configuration>
32 <Platform Condition="'$(Platform)' == ''">$(BuildArch)</Platform>
36 <RestorePackagesPath>$(PackagesDir)</RestorePackagesPath>