/** * Register the given platforms UEBuildDeploy instance * * @param InPlatform The UnrealTargetPlatform to register with * @param InBuildDeploy The UEBuildDeploy instance to use for the InPlatform */ public static void RegisterBuildDeploy(UnrealTargetPlatform InPlatform, UEBuildDeploy InBuildDeploy) { if (BuildDeployDictionary.ContainsKey(InPlatform) == true) { Log.TraceWarning("RegisterBuildDeply Warning: Registering build deploy {0} for {1} when it is already set to {2}", InBuildDeploy.ToString(), InPlatform.ToString(), BuildDeployDictionary[InPlatform].ToString()); BuildDeployDictionary[InPlatform] = InBuildDeploy; } else { BuildDeployDictionary.Add(InPlatform, InBuildDeploy); } }
/** * Register the platform with the UEBuildDeploy class */ public override void RegisterBuildDeploy() { // Register this deployment handle for WinRT Log.TraceVerbose(" Registering for {0}", UnrealTargetPlatform.WinRT.ToString()); UEBuildDeploy.RegisterBuildDeploy(UnrealTargetPlatform.WinRT, this); }