Files
UnrealEngineUWP/Engine/Source/Programs/CrashReporter/CrashReportClient/CrashReportClient.Target.cs
Rob Cannaday ce3a0b200f Copying //Tasks/UE4/Dev-Online-Plugins-v3 to //UE4/Dev-Main (Source: //Tasks/UE4/Dev-Online-Plugins-v3 @ 3047294)
#lockdown Nick.Penwarden
#rb rob.cannaday

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3025090 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemGooglePlay into plugins

Change 3025127 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemIOS into plugins

Change 3025314 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemWeChat into plugins

Change 3025380 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemMcp into plugins

Change 3025400 on 2016/06/23 by Rob.Cannaday

	Move PluginFlow into plugins

Change 3025430 on 2016/06/23 by Rob.Cannaday

	Move OnlineFramework (Hotfix, Lobby, Party, Qos) into plugins

Change 3025453 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystem into plugins

Change 3025462 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemAmazon into plugins

Change 3025480 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemFacebook into plugins

Change 3025487 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemNull into plugins

Change 3025493 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemSteam into plugins

Change 3025512 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemUtils (OnlineBlueprintSupport, OnlineSubsystemUtils) into plugins

Change 3025520 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemPS4 into plugins

Change 3025526 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemLive into plugins

Change 3025542 on 2016/06/23 by Rob.Cannaday

	Move OnlineSubsystemThunderhead into plugins (disabled)

Change 3025547 on 2016/06/23 by Rob.Cannaday

	Delete NewsFeed

Change 3028420 on 2016/06/27 by Rob.Cannaday

	Online Subsystem pluginization changes

Change 3028457 on 2016/06/27 by Rob.Cannaday

	Add ShooterOnlineSessionClient.*
	Remove copy/paste from previous checkin

Change 3029282 on 2016/06/27 by Rob.Cannaday

	Merging //UE4/Dev-Main to Dev-Online-Plugins-v3 (//Tasks/UE4/Dev-Online-Plugins-v3) (around CL 3028391)

Change 3029363 on 2016/06/27 by Rob.Cannaday

	UT build fixes for pluginization

Change 3032885 on 2016/06/29 by Rob.Cannaday

	Remove bCompileMCPOss and bCompileSteamOss

Change 3033072 on 2016/06/29 by Rob.Cannaday

	Merging //UE4/Dev-Main to Dev-Online-Plugins-v3 (//Tasks/UE4/Dev-Online-Plugins-v3) (around CL 3032885)

Change 3033368 on 2016/06/29 by Rob.Cannaday

	Fix references to online subsystem files in their former location

Change 3037635 on 2016/07/05 by Rob.Cannaday

	Add online plugins to WEX uproject

Change 3038147 on 2016/07/05 by Rob.Cannaday

	Merging //UE4/Dev-Main to Dev-Online-Plugins-v3 (//Tasks/UE4/Dev-Online-Plugins-v3)
	Also adds Match3

Change 3038152 on 2016/07/05 by Rob.Cannaday

	Fixup UnrealMatch3 OSS references

Change 3044558 on 2016/07/11 by Rob.Cannaday

	Move OnlineBlueprintCallProxyBase to Engine/Public/Net to remove dependency for OnlineSubsystemUtils in Engine.

Change 3044596 on 2016/07/11 by Rob.Cannaday

	#jira OGSSOCIAL-226 Investigate Slate solution to fade per line instead of per message
	Allow users to add a custom FTextLayout to Text boxes

Change 3045306 on 2016/07/11 by Rob.Cannaday

	Merging //UE4/Dev-Main to Dev-Online-Plugins-v3 (//Tasks/UE4/Dev-Online-Plugins-v3)

Change 3045424 on 2016/07/11 by Rob.Cannaday

	Add OnlineSubsystem plugins to Ocean.uproject
	#jira OGS-391

Change 3045478 on 2016/07/11 by Rob.Cannaday

	Crash fix when creating a split screen player via DebugCreatePlayer 1
	null check UniqueId
	#jira OGS-392

Change 3046785 on 2016/07/12 by Rob.Cannaday

	Move new hotfix files into plugin

Change 3047014 on 2016/07/12 by Rob.Cannaday

	Fix for VOIP not working
	#jira OGS-393

Change 3047248 on 2016/07/12 by Rob.Cannaday

	Fix build warning of member variable initialiization order.

Change 3047294 on 2016/07/12 by Rob.Cannaday

	Fix for ensure on shutdown in Qos module
	#jira UE-33150

[CL 3047349 by Rob Cannaday in Main branch]
2016-07-12 22:27:19 -04:00

128 lines
4.0 KiB
C#

// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class CrashReportClientTarget : TargetRules
{
public CrashReportClientTarget(TargetInfo Target)
{
Type = TargetType.Program;
UndecoratedConfiguration = UnrealTargetConfiguration.Shipping;
}
//
// TargetRules interface.
//
public override bool GetSupportedPlatforms(ref List<UnrealTargetPlatform> OutPlatforms)
{
OutPlatforms.Add(UnrealTargetPlatform.Win32);
OutPlatforms.Add(UnrealTargetPlatform.Win64);
OutPlatforms.Add(UnrealTargetPlatform.Mac);
OutPlatforms.Add(UnrealTargetPlatform.Linux);
return true;
}
public override bool ConfigureToolchain(TargetInfo Target)
{
if (Target.Platform == UnrealTargetPlatform.Win32 || Target.Platform == UnrealTargetPlatform.Win64)
{
WindowsPlatform.Compiler = WindowsCompiler.VisualStudio2013;
}
return true;
}
public override bool GetSupportedConfigurations(ref List<UnrealTargetConfiguration> OutConfigurations, bool bIncludeTestAndShippingConfigs)
{
if( base.GetSupportedConfigurations( ref OutConfigurations, bIncludeTestAndShippingConfigs ) )
{
if( bIncludeTestAndShippingConfigs )
{
OutConfigurations.Add( UnrealTargetConfiguration.Shipping );
}
OutConfigurations.Add( UnrealTargetConfiguration.Debug );
return true;
}
else
{
return false;
}
}
public override void SetupBinaries(
TargetInfo Target,
ref List<UEBuildBinaryConfiguration> OutBuildBinaryConfigurations,
ref List<string> OutExtraModuleNames
)
{
OutBuildBinaryConfigurations.Add(
new UEBuildBinaryConfiguration( InType: UEBuildBinaryType.Executable,
InModuleNames: new List<string>() { "CrashReportClient" })
);
if (Target.Platform != UnrealTargetPlatform.Linux)
{
OutExtraModuleNames.Add("EditorStyle");
}
}
public override bool ShouldCompileMonolithic(UnrealTargetPlatform InPlatform, UnrealTargetConfiguration InConfiguration)
{
return true;
}
public override void SetupGlobalEnvironment(
TargetInfo Target,
ref LinkEnvironmentConfiguration OutLinkEnvironmentConfiguration,
ref CPPEnvironmentConfiguration OutCPPEnvironmentConfiguration
)
{
UEBuildConfiguration.bCompileLeanAndMeanUE = true;
// Don't need editor
UEBuildConfiguration.bBuildEditor = false;
// CrashReportClient doesn't ever compile with the engine linked in
UEBuildConfiguration.bCompileAgainstEngine = false;
UEBuildConfiguration.bCompileAgainstCoreUObject = true;
UEBuildConfiguration.bUseLoggingInShipping = true;
UEBuildConfiguration.bIncludeADO = false;
// Do not include ICU for Linux (this is a temporary workaround, separate headless CrashReportClient target should be created, see UECORE-14 for details).
if (Target.Platform == UnrealTargetPlatform.Linux)
{
UEBuildConfiguration.bCompileICU = false;
}
// CrashReportClient.exe has no exports, so no need to verify that a .lib and .exp file was emitted by
// the linker.
OutLinkEnvironmentConfiguration.bHasExports = false;
UEBuildConfiguration.bUseChecksInShipping = true;
// Epic Games Launcher needs to run on OS X 10.9, so CrashReportClient needs this as well
OutCPPEnvironmentConfiguration.bEnableOSX109Support = true;
}
public override bool GUBP_AlwaysBuildWithTools(UnrealTargetPlatform InHostPlatform, out bool bInternalToolOnly, out bool SeparateNode, out bool CrossCompile)
{
bInternalToolOnly = false;
SeparateNode = false;
CrossCompile = true;
return true;
}
public override List<UnrealTargetPlatform> GUBP_ToolPlatforms(UnrealTargetPlatform InHostPlatform)
{
if (InHostPlatform == UnrealTargetPlatform.Win64)
{
return new List<UnrealTargetPlatform> { UnrealTargetPlatform.Win64, UnrealTargetPlatform.Win32};
}
return base.GUBP_ToolPlatforms(InHostPlatform);
}
public override List<UnrealTargetConfiguration> GUBP_ToolConfigs( UnrealTargetPlatform InHostPlatform )
{
return new List<UnrealTargetConfiguration> { UnrealTargetConfiguration.Shipping };
}
}