You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
41 lines
1.3 KiB
C#
41 lines
1.3 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 == UnrealTargetPlatform.Mac)
|
|
{
|
|
bool bUseDebug = Target.Configuration == UnrealTargetConfiguration.Debug;
|
|
string LibName = bUseDebug ? "libsymsd.a" : "libsyms.a";
|
|
string LibPath = Path.Combine(LibPathBase, "Mac");
|
|
|
|
PublicAdditionalLibraries.Add(Path.Combine(LibPath, LibName));
|
|
}
|
|
}
|
|
}
|