/** 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); }
string GetRemoteFrameworkZipPath( STBuildFramework Framework ) { if ( BuildHostPlatform.Current.Platform != STTargetPlatform.Mac ) { return ConvertPath( GetLocalFrameworkZipPath( Framework ) ); } return GetLocalFrameworkZipPath( Framework ); }
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; }
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 ); }