You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- 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 [CL 19518359 by christopher waters in ue5-main branch]
31 lines
852 B
C#
31 lines
852 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.Collections.Generic;
|
|
|
|
[SupportedPlatforms(UnrealPlatformClass.All)]
|
|
public class UnrealGameTarget : TargetRules
|
|
{
|
|
public UnrealGameTarget( TargetInfo Target ) : base(Target)
|
|
{
|
|
Type = TargetType.Game;
|
|
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
|
|
BuildEnvironment = TargetBuildEnvironment.Shared;
|
|
|
|
ExtraModuleNames.Add("UnrealGame");
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.IOS)
|
|
{
|
|
// to make iOS projects as small as possible we excluded some items from the engine.
|
|
// uncomment below to make a smaller iOS build
|
|
/*bCompileRecast = false;
|
|
bCompileSpeedTree = false;
|
|
bCompileAPEX = false;
|
|
bCompileLeanAndMeanUE = true;
|
|
bCompilePhysXVehicle = false;
|
|
bCompileFreeType = false;
|
|
bCompileForSize = true;*/
|
|
}
|
|
}
|
|
}
|