Files
UnrealEngineUWP/Engine/Source/Runtime/XmlParser/XmlParser.Build.cs
steve robb 02e7964d65 Set UE_DEFINE_LEGACY_MATH_CONSTANT_MACRO_NAMES=0 for XmlParser.
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]
2024-05-21 12:15:39 -04:00

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");
}
}