You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Patches to HACD, hlslcc,mcpp and nvtess (licenses updated where appropriate). - Support for Linux target platform in a bunch of TPS modules. - Automate update of dependencies to an extent. - Misc. changes (accomodate perforce and git flows, minor code bug when dealing with TPS etc). #codereview Mike.Fricker, Ben.Marsh [CL 2069938 by Dmitry Rekman in Main branch]
27 lines
1.1 KiB
C#
27 lines
1.1 KiB
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
|
|
// "separate" means that function names are mangled and libc malloc()/free() is still available
|
|
// for use by other libraries
|
|
// "drop-in" means that jemalloc replaces libc malloc()/free() and every allocation is made
|
|
// through it - including libraries like libcurl
|
|
PublicIncludePaths.Add(UEBuildConfiguration.UEThirdPartyDirectory + "jemalloc/include/Linux/separate");
|
|
PublicLibraryPaths.Add(UEBuildConfiguration.UEThirdPartyDirectory + "jemalloc/lib/Linux/separate");
|
|
//PublicIncludePaths.Add(UEBuildConfiguration.UEThirdPartyDirectory + "jemalloc/include/Linux/drop-in");
|
|
//PublicLibraryPaths.Add(UEBuildConfiguration.UEThirdPartyDirectory + "jemalloc/lib/Linux/drop-in");
|
|
PublicAdditionalLibraries.Add("jemalloc");
|
|
Definitions.Add("PLATFORM_SUPPORTS_JEMALLOC=1");
|
|
}
|
|
}
|
|
}
|