You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb brandon.schaefer, zack.neyland, calvin.zheng #jira UE-191030 [CL 27552782 by johan berg in ue5-main branch]
41 lines
1.4 KiB
C#
41 lines
1.4 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class SymsLib : ModuleRules
|
|
{
|
|
public SymsLib(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
string LibPathBase = ModuleDirectory + "/lib";
|
|
|
|
PublicSystemIncludePaths.Add(ModuleDirectory);
|
|
PublicSystemIncludePaths.Add(ModuleDirectory + "/syms");
|
|
|
|
if (Target.Platform.IsInGroup(UnrealPlatformGroup.Windows))
|
|
{
|
|
bool bUseDebug = Target.Configuration == UnrealTargetConfiguration.Debug;
|
|
string LibPath = LibPathBase + "/x64" + (bUseDebug ? "/Debug" : "/Release");
|
|
PublicAdditionalLibraries.Add(LibPath + "/SymsLib.lib");
|
|
}
|
|
else if (Target.Platform.IsInGroup(UnrealPlatformGroup.Unix))
|
|
{
|
|
bool bUseDebug = Target.Configuration == UnrealTargetConfiguration.Debug;
|
|
string LibName = bUseDebug ? "libsymsd_fPIC.a" : "libsyms_fPIC.a";
|
|
string LibPath = Path.Combine(LibPathBase, "Unix", Target.Architecture.LinuxName);
|
|
|
|
PublicAdditionalLibraries.Add(Path.Combine(LibPath, LibName));
|
|
}
|
|
else if (Target.Platform.IsInGroup(UnrealPlatformGroup.Apple))
|
|
{
|
|
bool bUseDebug = Target.Configuration == UnrealTargetConfiguration.Debug;
|
|
string LibName = bUseDebug ? "libsymsd.a" : "libsyms.a";
|
|
string LibPath = Path.Combine(LibPathBase, "Mac", Target.Architecture.AppleName);
|
|
|
|
PublicAdditionalLibraries.Add(Path.Combine(LibPath, LibName));
|
|
}
|
|
}
|
|
}
|