Update build.proj to make the build mode clearer (#18913)

This commit is contained in:
Viktor Hofer 2024-03-07 19:10:41 +01:00 committed by GitHub
parent a36d3611ed
commit 7fc4318b30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,10 +11,12 @@
<Target Name="Build"> <Target Name="Build">
<PropertyGroup> <PropertyGroup>
<SourceOnlyInfoText Condition="'$(DotNetBuildSourceOnly)' == 'true'"> (source-only)</SourceOnlyInfoText> <BuildModeInfoText Condition="'$(DotNetBuildSourceOnly)' == 'true'">source-build</BuildModeInfoText>
<BuildModeInfoText Condition="'$(DotNetBuildSourceOnly)' != 'true'">non-source-build</BuildModeInfoText>
</PropertyGroup> </PropertyGroup>
<Message Text="Build Environment$(SourceOnlyInfoText): $(TargetArchitecture) $(Configuration) $(TargetOS) $(TargetRid)" Importance="high" /> <Message Text="Build Mode: $(BuildModeInfoText)" Importance="high" />
<Message Text="Build Environment: $(TargetArchitecture) $(Configuration) $(TargetOS) $(TargetRid)" Importance="high" />
<MSBuild Projects="$(ToolsDir)init-build.proj; <MSBuild Projects="$(ToolsDir)init-build.proj;
$(RepoProjectsDir)$(RootRepo).proj" $(RepoProjectsDir)$(RootRepo).proj"