forked from dotnet/dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.proj
46 lines (38 loc) · 2.15 KB
/
build.proj
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<Project Sdk="Microsoft.Build.Traversal" InitialTargets="PrintInfo">
<!-- Default targets and parallelization -->
<ItemDefinitionGroup>
<ProjectReference>
<Test>false</Test>
<Publish>false</Publish>
<BuildInParallel>false</BuildInParallel>
</ProjectReference>
</ItemDefinitionGroup>
<ItemGroup>
<!-- Pre-build: Init tools-->
<ProjectReference Include="$(RepositoryEngineeringDir)init-cross-build.proj"
Condition="'$(BuildOS)' != 'windows' and '$(CrossBuild)' == 'true' and '$(ROOTFS_DIR)' == ''"
BuildInParallel="true" />
<ProjectReference Include="$(RepositoryEngineeringDir)init-poison.proj"
Condition="'$(EnablePoison)' == 'true'"
BuildInParallel="true" />
<ProjectReference Include="$(ToolsDir)tools.proj" BuildInParallel="true" />
<ProjectReference Include="$(RepoProjectsDir)$(RootRepo).proj" />
<!-- Post-build: Source-only validation, packaging and publishing -->
<ProjectReference Include="$(RepositoryEngineeringDir)merge-asset-manifests.proj" />
<ProjectReference Include="$(RepositoryEngineeringDir)finish-source-only.proj" Condition="'$(DotNetBuildSourceOnly)' == 'true'" />
</ItemGroup>
<Target Name="PrintInfo">
<PropertyGroup>
<BuildModeInfoText Condition="'$(DotNetBuildSourceOnly)' == 'true'">source-build</BuildModeInfoText>
<BuildModeInfoText Condition="'$(DotNetBuildSourceOnly)' != 'true'">non-source-build</BuildModeInfoText>
</PropertyGroup>
<Message Text="Build Mode: $(BuildModeInfoText)" Importance="high" />
<Message Text="Build Environment: $(TargetArchitecture) $(Configuration) $(TargetOS) $(TargetRid)" Importance="high" />
<Message Condition="'$(EnablePoison)' == 'true'" Text="Crossgen is disabled due to incompatibility with poison checks." Importance="high" />
</Target>
<Target Name="LogBuildOutputFolders"
AfterTargets="Build">
<Message Importance="high" Text="Shipping packages are located in '$(ArtifactsShippingPackagesDir)'." />
<Message Importance="high" Text="Shipping assets are located in '$(ArtifactsAssetsDir)'." />
</Target>
</Project>