You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Now supplying .a and .so for monolithic and modular builds. - No more "drop-in" version. - Simplistic script with configure options. [CL 2132839 by Dmitry Rekman in Main branch]
28 lines
988 B
C#
28 lines
988 B
C#
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class jemalloc : ModuleRules
|
|
{
|
|
public jemalloc(TargetInfo Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Linux)
|
|
{
|
|
// includes may differ depending on target platform
|
|
PublicIncludePaths.Add(UEBuildConfiguration.UEThirdPartySourceDirectory + "jemalloc/include/Linux/" + Target.Architecture);
|
|
if (Target.IsMonolithic)
|
|
{
|
|
PublicAdditionalLibraries.Add(UEBuildConfiguration.UEThirdPartySourceDirectory + "jemalloc/lib/Linux/" + Target.Architecture + "/libjemalloc.a");
|
|
}
|
|
else
|
|
{
|
|
PublicLibraryPaths.Add(UEBuildConfiguration.UEThirdPartySourceDirectory + "jemalloc/lib/Linux/" + Target.Architecture);
|
|
PublicAdditionalLibraries.Add("jemalloc");
|
|
}
|
|
Definitions.Add("PLATFORM_SUPPORTS_JEMALLOC=1");
|
|
}
|
|
}
|
|
}
|