2019-12-26 23:01:54 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2019-10-03 16:26:48 -04:00
|
|
|
|
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
[SupportedPlatforms("Win64", "Mac", "Linux")]
|
|
|
|
|
[SupportedConfigurations(UnrealTargetConfiguration.Debug, UnrealTargetConfiguration.Development, UnrealTargetConfiguration.Shipping)]
|
|
|
|
|
public class CrashReportClientEditorTarget : CrashReportClientTarget
|
|
|
|
|
{
|
2020-06-23 18:40:00 -04:00
|
|
|
public CrashReportClientEditorTarget(TargetInfo Target) : base(Target)
|
|
|
|
|
{
|
|
|
|
|
LaunchModuleName = "CrashReportClientEditor";
|
|
|
|
|
|
|
|
|
|
// Disabled in 4.25.1 because it is suspected to cause unexpected crash.
|
|
|
|
|
bool bHostRecoverySvc = false;
|
2019-10-03 16:26:48 -04:00
|
|
|
|
|
|
|
|
bBuildWithEditorOnlyData = false;
|
|
|
|
|
bBuildDeveloperTools = true;
|
|
|
|
|
|
2020-06-23 18:40:00 -04:00
|
|
|
if (bHostRecoverySvc)
|
2019-10-03 16:26:48 -04:00
|
|
|
{
|
2020-06-23 18:40:00 -04:00
|
|
|
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");
|
|
|
|
|
}
|
2019-10-03 16:26:48 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|