You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
63 lines
1.5 KiB
C#
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);
|
|
}
|
|
}
|
|
}
|