Files
UnrealEngineUWP/Engine/Source/Programs/UnrealBuildTool/System/PrecompiledHeaderInstance.cs
Thomas Sarkanen 8ba3c4c087 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4643671
#rb none
#jira none

[CL 4665410 by Thomas Sarkanen in Dev-Anim branch]
2018-12-17 06:31:16 -05:00

63 lines
1.5 KiB
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnrealBuildTool
{
/// <summary>
/// Information about a PCH instance
/// </summary>
class PrecompiledHeaderInstance
{
/// <summary>
/// The file to include to use this shared PCH
/// </summary>
public FileItem HeaderFile;
/// <summary>
/// Whether optimization is enabled
/// </summary>
public bool bOptimizeCode;
/// <summary>
/// Whether to enable RTTI
/// </summary>
public bool bUseRTTI;
/// <summary>
/// Whether to enable exceptions
/// </summary>
public bool bEnableExceptions;
/// <summary>
/// The output files for the shared PCH
/// </summary>
public CPPOutput Output;
/// <summary>
/// Constructor
/// </summary>
public PrecompiledHeaderInstance(FileItem HeaderFile, bool bOptimizeCode, bool bUseRTTI, bool bEnableExceptions, CPPOutput Output)
{
this.HeaderFile = HeaderFile;
this.bOptimizeCode = bOptimizeCode;
this.bUseRTTI = bUseRTTI;
this.bEnableExceptions = bEnableExceptions;
this.Output = Output;
}
/// <summary>
/// Return a string representation of this object for debugging
/// </summary>
/// <returns>String representation of the object</returns>
public override string ToString()
{
return String.Format("{0} (Optimized={1}, RTTI={2}, Exceptions={3})", HeaderFile.Location.GetFileName(), bOptimizeCode, bUseRTTI, bEnableExceptions);
}
}
}