// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; using System.Collections.Generic; [SupportedPlatforms(UnrealTargetPlatform.Win32, UnrealTargetPlatform.Win64, UnrealTargetPlatform.Mac, UnrealTargetPlatform.Linux)] [SupportedConfigurations(UnrealTargetConfiguration.Debug, UnrealTargetConfiguration.Development, UnrealTargetConfiguration.Shipping)] public class CrashReportClientTarget : TargetRules { public CrashReportClientTarget(TargetInfo Target) : base(Target) { Type = TargetType.Program; LinkType = TargetLinkType.Monolithic; UndecoratedConfiguration = UnrealTargetConfiguration.Shipping; LaunchModuleName = "CrashReportClient"; if (Target.Platform != UnrealTargetPlatform.Linux) { ExtraModuleNames.Add("EditorStyle"); } bOutputPubliclyDistributable = true; bBuildDeveloperTools = false; // CrashReportClient doesn't ever compile with the engine linked in bCompileAgainstEngine = false; bCompileAgainstCoreUObject = true; bUseLoggingInShipping = true; // CrashReportClient.exe has no exports, so no need to verify that a .lib and .exp file was emitted by // the linker. bHasExports = false; bUseChecksInShipping = true; // Epic Games Launcher needs to run on OS X 10.9, so CrashReportClient needs this as well bEnableOSX109Support = true; // Need to disable the bundled version of dbghelp so that CrashDebugHelper can load dbgeng.dll. WindowsPlatform.bUseBundledDbgHelp = false; GlobalDefinitions.Add("NOINITCRASHREPORTER=1"); } }