using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UnrealBuildTool { /// /// Information about a PCH instance /// class PrecompiledHeaderInstance { /// /// The file to include to use this shared PCH /// public FileItem HeaderFile; /// /// Whether optimization is enabled /// public bool bOptimizeCode; /// /// The output files for the shared PCH /// public CPPOutput Output; /// /// Constructor /// public PrecompiledHeaderInstance(FileItem HeaderFile, bool bOptimizeCode, CPPOutput Output) { this.HeaderFile = HeaderFile; this.bOptimizeCode = bOptimizeCode; this.Output = Output; } /// /// Return a string representation of this object for debugging /// /// String representation of the object public override string ToString() { return String.Format("{0} (Optimized={1})", HeaderFile.Reference.GetFileName(), bOptimizeCode); } } }