Files
UnrealEngineUWP/Engine/Source/ThirdParty/jemalloc/jemalloc.Build.cs
Dmitry Rekman 8d923f7226 Linux: simplify TPS deployment for modular builds.
- 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]
2014-09-19 02:46:51 -04:00

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