Files
UnrealEngineUWP/Engine/Source/Programs/CrashReportClient/CrashReportClientEditor.Target.cs
Marc Audy 11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00

35 lines
1.3 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
[SupportedPlatforms("Win64", "Mac", "Linux")]
[SupportedConfigurations(UnrealTargetConfiguration.Debug, UnrealTargetConfiguration.Development, UnrealTargetConfiguration.Shipping)]
public class CrashReportClientEditorTarget : CrashReportClientTarget
{
public CrashReportClientEditorTarget(TargetInfo Target) : base(Target)
{
LaunchModuleName = "CrashReportClientEditor";
// Disabled in 4.25.1 because it is suspected to cause unexpected crash.
bool bHostRecoverySvc = false;
bBuildWithEditorOnlyData = false;
bBuildDeveloperTools = true;
if (bHostRecoverySvc)
{
AdditionalPlugins.Add("UdpMessaging");
AdditionalPlugins.Add("ConcertSyncServer");
bCompileWithPluginSupport = true; // Enable Developer plugins (like Concert!)
if (Target.Configuration == UnrealTargetConfiguration.Shipping && LinkType == TargetLinkType.Monolithic)
{
// DisasterRecovery/Concert needs message bus to run. If not enabled, Recovery Service will self-disable as well. In Shipping
// message bus is turned off by default but for a monolithic build, it can be turned on just for this executable.
GlobalDefinitions.Add("PLATFORM_SUPPORTS_MESSAGEBUS=1");
}
}
}
}