-
Notifications
You must be signed in to change notification settings - Fork 6
/
Directory.Build.props
29 lines (24 loc) · 1.23 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<Project>
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<OutRoot>$(RepoRoot)out/</OutRoot>
<EngRoot>$(RepoRoot)eng/</EngRoot>
<SrcRoot>$(RepoRoot)src/</SrcRoot>
<BaseOutputPath>$(OutRoot)bin/</BaseOutputPath>
<BaseIntermediateOutputPath>$(OutRoot)obj/$(MSBuildProjectName)/</BaseIntermediateOutputPath>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)/</IntermediateOutputPath>
<SubOutputPath Condition="'$(SubOutputPath)' == ''">$(MSBuildProjectName)/</SubOutputPath>
<OutputPath>$(BaseOutputPath)$(Configuration)/$([MSBuild]::EnsureTrailingSlash($(SubOutputPath)))</OutputPath>
<PackageOutputPath>$(OutRoot)pkg/</PackageOutputPath>
</PropertyGroup>
<PropertyGroup>
<IsTestProject Condition="$(MSBuildProjectName.Contains('Test'))">true</IsTestProject>
</PropertyGroup>
<PropertyGroup>
<RunSettingsFilePath>$(SrcRoot)test.runsettings</RunSettingsFilePath>
</PropertyGroup>
<Import Project="$(EngRoot)Common.props" />
<Import Project="$(EngRoot)Test.props" Condition="'$(IsTestProject)' == 'true'" />
</Project>