You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This makes it possible to build UAT with these references without having to run UBT first. Thus also fixes net core building of the project. This adds about 5 seconds to the build time of automation tool but eliminates the need to run UBT and should avoid the need to implement -compile in UAT (in the end saving more then these 5 seconds) This essentially does the same as UBT did before, create a .reference file on disk that can then be read by msbuild, it just does this in msbuild as well so we have fewer components involved. #rb ben.marsh [CL 14640899 by Joakim Lindqvist in ue5-main branch]
70 lines
3.3 KiB
XML
70 lines
3.3 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<!-- Set a custom temp directory so we can live side by side with the .net framework output -->
|
|
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj-core\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
|
|
<BaseOutputPath>$(MSBuildThisFileDirectory)bin-core\$(MSBuildProjectName)\</BaseOutputPath>
|
|
</PropertyGroup>
|
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Development</Configuration>
|
|
<OutputType>Exe</OutputType>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
|
|
<Configurations>Debug;Release;Development</Configurations>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<RootNamespace>AutomationTool</RootNamespace>
|
|
<AssemblyName>AutomationTool</AssemblyName>
|
|
<WarningsNotAsErrors>612,618</WarningsNotAsErrors>
|
|
<OutputPath>..\..\..\Binaries\DotNET\AutomationTool</OutputPath>
|
|
<EnableDefaultItems>false</EnableDefaultItems>
|
|
<DefineConstants>NET_CORE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Development|AnyCPU' ">
|
|
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Ionic.Zip.Reduced">
|
|
<HintPath>..\..\..\Binaries\DotNET\Ionic.Zip.Reduced.dll</HintPath>
|
|
<Private>true</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="obj\**" />
|
|
<EmbeddedResource Remove="obj\**" />
|
|
<None Remove="obj\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\DotNETCommon\MetaData.cs">
|
|
<Link>Properties\MetaData.cs</Link>
|
|
</Compile>
|
|
<Compile Include="Program.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<None Include="app.manifest">
|
|
<SubType>Designer</SubType>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\DotNETCommon\DotNETUtilities\DotNETUtilitiesCore.csproj" />
|
|
<ProjectReference Include="..\UnrealBuildTool\UnrealBuildToolCore.csproj" />
|
|
<ProjectReference Include="AutomationUtils\AutomationUtils.Automation.Core.csproj" />
|
|
</ItemGroup>
|
|
|
|
<!-- If building inside visual studio it means we generate projects, thus UBT will have output this file and we do not need to add the relativley slow task of globbing this in msbuild -->
|
|
<Import Project="AutomationTool.proj" Condition="'$(AutomationToolProjectOnly)' == '' AND '$(BuildingInsideVisualStudio)' != 'true'" />
|
|
<Import Project="AutomationToolCore.csproj.References" Condition="Exists('AutomationToolCore.csproj.References') And '$(AutomationToolProjectOnly)' == ''" />
|
|
|
|
</Project> |