Files
UnrealEngineUWP/Engine/Source/UnrealClient.Target.cs
christopher waters e102ea30c1 Adding a "deprecation" path for engine includes to allow types to be moved without breaking licensee module builds.
- Non-engine modules/targets will have to specify the "version" of includes via IncludeOrderVersion in TargetRules or ModuleRules.
- This setting will control the value of UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX where XXX is the version of the engine.
- When moving types out of a header, users will need to include the new location of the type in the header it was removed from but only if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX is set.
- If a target does not change its IncludeOrderVersion to the latest version, UBT will print out a message telling users how to upgrade.
- This change introduces a new set of SharedPCH permutations to make sure modules with older versions get the PCH with UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_XXX set correctly.

#jira none
#rb jonathan.adamczewski, joe.kirchoff
#preflight 623e1d3d196f3ae80b4c37ee

#ROBOMERGE-AUTHOR: christopher.waters
#ROBOMERGE-SOURCE: CL 19518359 in //UE5/Main/...
#ROBOMERGE-BOT: UE5 (Main -> Release-Engine-Staging) (v937-19513599)

[CL 19518400 by christopher waters in ue5-release-engine-staging branch]
2022-03-25 16:18:41 -04:00

16 lines
406 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class UnrealClientTarget : TargetRules
{
public UnrealClientTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Client;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
BuildEnvironment = TargetBuildEnvironment.Shared;
ExtraModuleNames.Add("UnrealGame");
}
}