19 lines
628 B
C#
19 lines
628 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class jemalloc : ModuleRules
|
|
{
|
|
public jemalloc(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Unix))
|
|
{
|
|
// includes may differ depending on target platform
|
|
PublicSystemIncludePaths.Add(Target.UEThirdPartySourceDirectory + "jemalloc/include/Unix/" + Target.Architecture.LinuxName);
|
|
PublicAdditionalLibraries.Add(Target.UEThirdPartySourceDirectory + "jemalloc/lib/Unix/" + Target.Architecture.LinuxName + "/libjemalloc_pic.a");
|
|
}
|
|
}
|
|
}
|