You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Disabled PCHs because it will use Core's shared PCH and will clash with the macro redefinition. #rb joe.kirchoff [CL 33798783 by steve robb in ue5-main branch]
22 lines
629 B
C#
22 lines
629 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class XmlParser : ModuleRules
|
|
{
|
|
public XmlParser( ReadOnlyTargetRules Target ) : base(Target)
|
|
{
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"Core",
|
|
});
|
|
UnsafeTypeCastWarningLevel = WarningLevel.Error;
|
|
|
|
// PCH is disabled here otherwise the module will use Core's shared PCH and fail to compile due
|
|
// to a clash with UE_DEFINE_LEGACY_MATH_CONSTANT_MACRO_NAMES being defined in UnrealMathUtility.h.
|
|
PCHUsage = PCHUsageMode.NoPCHs;
|
|
PrivateDefinitions.Add("UE_DEFINE_LEGACY_MATH_CONSTANT_MACRO_NAMES=0");
|
|
}
|
|
}
|