Example #1
0
 /** Adds a public additional framework */
 public virtual void AddPublicAdditionalFramework(STBuildFramework Framework, bool bCheckForDuplicates = true)
 {
     if (bCheckForDuplicates == true)
     {
         if (PublicAdditionalFrameworks.Contains(Framework))
         {
             return;
         }
     }
     PublicAdditionalFrameworks.Add(Framework);
 }
Example #2
0
        string GetRemoteFrameworkZipPath( STBuildFramework Framework )
        {
            if ( BuildHostPlatform.Current.Platform != STTargetPlatform.Mac )
            {
                return ConvertPath( GetLocalFrameworkZipPath( Framework ) );
            }

            return GetLocalFrameworkZipPath( Framework );
        }
Example #3
0
        string GetRemoteIntermediateFrameworkZipPath( STBuildFramework Framework )
        {
            if ( Framework.OwningModule == null )
            {
                throw new BuildException( "GetRemoteIntermediateFrameworkZipPath: No owning module for framework {0}", Framework.FrameworkName );
            }

            string IntermediatePath = Framework.OwningModule.Target.ProjectDirectory + "/Intermediate/UnzippedFrameworks/" + Framework.OwningModule.Name;
            IntermediatePath =  Path.GetFullPath( ( IntermediatePath + Framework.FrameworkZipPath ).Replace( ".zip", "" ) );

            if ( BuildHostPlatform.Current.Platform != STTargetPlatform.Mac )
            {
                return ConvertPath( IntermediatePath );
            }

            return IntermediatePath;
        }
Example #4
0
        string GetLocalFrameworkZipPath( STBuildFramework Framework )
        {
            if ( Framework.OwningModule == null )
            {
                throw new BuildException( "GetLocalFrameworkZipPath: No owning module for framework {0}", Framework.FrameworkName );
            }

            return Path.GetFullPath( Framework.OwningModule.ModuleDirectory + "/" + Framework.FrameworkZipPath );
        }