示例#1
0
 /// <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);
     }
 }
示例#2
0
        /// <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);
            }
        }
示例#3
0
 /**
  *	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);
     }
 }