Merge branch 'release/3.0' into merge/master-to-release/3.0
[platform/upstream/coreclr.git] / dir.props
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project>
3   <Import Project="dir.common.props" />
4
5   <!-- [ARCADE REMOVE] This entire file can be removed. Properties set by this file should be moved into
6        dir.common.props and Directory.Build.props as appropriate and projects should stop importing this. -->
7
8   <PropertyGroup>
9     <LangVersion>8.0</LangVersion>
10     <UseSharedCompilation>true</UseSharedCompilation>
11   </PropertyGroup>
12
13   <!-- Set the kind of PDB to Portable -->
14   <PropertyGroup>
15     <DebugType Condition="'$(DebugType)' == ''">Portable</DebugType>
16   </PropertyGroup>
17
18   <!-- Common properties -->
19   <PropertyGroup>
20
21     <!-- This name is used to create a GIT repository URL https://github.com/dotnet/$(GitHubRepositoryName) used to find source code for debugging -->
22     <GitHubRepositoryName Condition="'$(GitHubRepositoryName)' == ''">coreclr</GitHubRepositoryName>
23
24     <Platform Condition="'$(Platform)' == ''">$(BuildArch)</Platform>
25     <Platform Condition="'$(Platform)' == 'amd64'">x64</Platform>
26
27     <!-- Default to portable build if not explicitly set -->
28     <PortableBuild Condition="'$(PortableBuild)' == ''">true</PortableBuild>
29
30     <OverrideRestoreOutputPath>true</OverrideRestoreOutputPath>
31
32     <!-- If true, indicates that this is not an officially supported release -->
33     <!-- It is important to flip this to false in official release branches -->
34     <!-- Keep it in sync with PRERELEASE in clrdefinitions.cmake -->
35     <IsPrerelease>true</IsPrerelease>
36   </PropertyGroup>
37
38   <!-- Output paths -->
39   <PropertyGroup>
40     <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)' == ''">$(RootBinDir)obj\</BaseIntermediateOutputPath>
41
42     <AppendTargetFrameworkToOutputPath Condition="'$(ArcadeBuild)' == 'true'">false</AppendTargetFrameworkToOutputPath>
43     <IntermediateOutputPath>$(__IntermediatesDir)\$(MSBuildProjectName)\</IntermediateOutputPath>
44     <IntermediateOutputPath Condition="'$(__IntermediatesDir)' == ''">$(RootBinDir)obj/$(PlatformConfigPathPart)/$(MSBuildProjectName)/</IntermediateOutputPath>
45
46     <OutputPath Condition="'$(OutputPath)' == ''">$(BinDir)</OutputPath>
47   </PropertyGroup>
48
49   <!-- Provides properties for dependency versions and configures dependency verification/auto-upgrade. -->
50   <Import Project="$(ProjectDir)dependencies.props" />
51 </Project>