Files
henrik karlsson 175916003f [UBA]
* Fixed allocation to make sure it honors alignments
* Added error handling in trace code. It will stop writing when running out of shared mem

[CL 31533724 by henrik karlsson in 5.4 branch]
2024-02-15 15:37:46 -05:00

44 lines
965 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
[SupportedPlatforms(UnrealPlatformClass.Desktop)]
public class UbaCommon : ModuleRules
{
public UbaCommon(ReadOnlyTargetRules Target) : base(Target)
{
PrivatePCHHeaderFile = "../Core/Public/UbaCorePch.h";
UnsafeTypeCastWarningLevel = WarningLevel.Error;
StaticAnalyzerDisabledCheckers.Clear();
PublicDependencyModuleNames.AddRange(new string[] {
"UbaCore",
});
// External modules
PrivateDependencyModuleNames.AddRange(new string[] {
"UbaMimalloc",
});
PublicDependencyModuleNames.AddRange(new string[] {
"OodleDataCompression",
});
if (Target.Platform == UnrealTargetPlatform.Win64)
{
PrivateDependencyModuleNames.AddRange(new string[] {
"Detours",
});
}
else if (Target.Platform.IsInGroup(UnrealPlatformGroup.Linux))
{
PublicSystemLibraries.Add("dl");
}
PrivateDefinitions.AddRange(new string[] {
"_CONSOLE",
});
}
}