/// <summary> /// Register the given platforms UEBuildPlatform instance /// </summary> /// <param name="InBuildPlatform"> The UEBuildPlatform instance to use for the InPlatform</param> public static void RegisterBuildPlatform(UEBuildPlatform InBuildPlatform) { if (BuildPlatformDictionary.ContainsKey(InBuildPlatform.Platform) == true) { Log.TraceWarning("RegisterBuildPlatform Warning: Registering build platform {0} for {1} when it is already set to {2}", InBuildPlatform.ToString(), InBuildPlatform.Platform.ToString(), BuildPlatformDictionary[InBuildPlatform.Platform].ToString()); BuildPlatformDictionary[InBuildPlatform.Platform] = InBuildPlatform; } else { BuildPlatformDictionary.Add(InBuildPlatform.Platform, InBuildPlatform); } }
/// <summary> /// Register the given platforms UEBuildPlatform instance /// </summary> /// <param name="InBuildPlatform"> The UEBuildPlatform instance to use for the InPlatform</param> public static void RegisterBuildPlatform(UEBuildPlatform InBuildPlatform) { Log.TraceVerbose(" Registering build platform: {0} - buildable: {1}", InBuildPlatform.Platform, InBuildPlatform.HasRequiredSDKsInstalled() == SDKStatus.Valid); if (BuildPlatformDictionary.ContainsKey(InBuildPlatform.Platform) == true) { Log.TraceWarning("RegisterBuildPlatform Warning: Registering build platform {0} for {1} when it is already set to {2}", InBuildPlatform.ToString(), InBuildPlatform.Platform.ToString(), BuildPlatformDictionary[InBuildPlatform.Platform].ToString()); BuildPlatformDictionary[InBuildPlatform.Platform] = InBuildPlatform; } else { BuildPlatformDictionary.Add(InBuildPlatform.Platform, InBuildPlatform); } }
/** * Register the given platforms UEBuildPlatform instance * * @param InPlatform The UnrealTargetPlatform to register with * @param InBuildPlatform The UEBuildPlatform instance to use for the InPlatform */ public static void RegisterBuildPlatform(UnrealTargetPlatform InPlatform, UEBuildPlatform InBuildPlatform) { if (BuildPlatformDictionary.ContainsKey(InPlatform) == true) { Log.TraceWarning("RegisterBuildPlatform Warning: Registering build platform {0} for {1} when it is already set to {2}", InBuildPlatform.ToString(), InPlatform.ToString(), BuildPlatformDictionary[InPlatform].ToString()); BuildPlatformDictionary[InPlatform] = InBuildPlatform; } else { BuildPlatformDictionary.Add(InPlatform, InBuildPlatform); } }