Files
UnrealEngineUWP/Engine/Source/Programs/UnrealFrontend/UnrealFrontend.Target.cs
ionut matasaru facb13dc5c UnrealFrontend: Disabled old Profiler (UnrealFrontend/SessionFrontend/Profiler).
Old Profiler is deprecated since UE 5.0. Use Trace/UnrealInsights instead.
Added UE_DEPRECATED_PROFILER_ENABLED global define toggle (off by default; this allows to temporarily re-enable Profiler if needed; see UnrealFrontend.Target.cs). Profiler module/code will be removed in a future UE version.

#jira UE-141782
#jira UE-118368
#rb David.Harvey
#fyi Johan.Berg
#preflight 64432343f030f684d537e46f

[CL 25161301 by ionut matasaru in ue5-main branch]
2023-04-24 05:18:25 -04:00

30 lines
817 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class UnrealFrontendTarget : TargetRules
{
public UnrealFrontendTarget( TargetInfo Target ) : base(Target)
{
Type = TargetType.Program;
LinkType = TargetLinkType.Modular;
AdditionalPlugins.Add("UdpMessaging");
LaunchModuleName = "UnrealFrontend";
bCompileAgainstEngine = false;
bCompileAgainstCoreUObject = true;
bForceBuildTargetPlatforms = true;
bCompileWithStatsWithoutEngine = true;
bCompileWithPluginSupport = true;
// For UI functionality
bBuildDeveloperTools = true;
bHasExports = false;
// Old Profiler (SessionFrontend/Profiler) is deprecated since UE 5.0. Use Trace/UnrealInsights instead.
//GlobalDefinitions.Add("UE_DEPRECATED_PROFILER_ENABLED=1");
}
}