You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Got rid of shared objects wherever possible (an -fPIC .a is provided instead). - Rebuilt bundled binaries against glibc 2.12 (issue reported by @raxxy) - Fixes in freetype cross-compilation for the above and to account for AutoSDK changes. [CL 2303762 by Dmitry Rekman in Main branch]
27 lines
959 B
C#
27 lines
959 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
|
|
{
|
|
PublicAdditionalLibraries.Add(UEBuildConfiguration.UEThirdPartySourceDirectory + "jemalloc/lib/Linux/" + Target.Architecture + "/libjemalloc_pic.a");
|
|
}
|
|
Definitions.Add("PLATFORM_SUPPORTS_JEMALLOC=1");
|
|
}
|
|
}
|
|
}
|