Files
UnrealEngineUWP/Engine/Source/Programs/Shared/EpicGames.Perforce.Native/DotNetPerforceLib.Target.cs
ionut matasaru 3d7c0e8440 UBT: Removed deprecated TargetInfo::bUseMallocProfiler toggle in Source/Programs.
#jira UE-141779
#rb Joe.Kirchoff
#rb Johan.Berg
#preflight 64380aea7a00790bfd116430

[CL 25101875 by ionut matasaru in ue5-main branch]
2023-04-19 04:15:59 -04:00

36 lines
1.1 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class DotNetPerforceLibTarget : TargetRules
{
public DotNetPerforceLibTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
LinkType = TargetLinkType.Monolithic;
LaunchModuleName = "DotNetPerforceLib";
bShouldCompileAsDLL = true;
bBuildDeveloperTools = false;
bCompileICU = false;
bBuildWithEditorOnlyData = false;
bCompileAgainstEngine = false;
bCompileAgainstCoreUObject = false;
string ConfigFolder = (Target.Configuration == UnrealTargetConfiguration.Shipping) ? "Release" : "Debug";
if (Target.Platform == UnrealTargetPlatform.Win64)
{
OutputFile = $"Binaries/DotNET/EpicGames.Perforce.Native/win-x64/{ConfigFolder}/EpicGames.Perforce.Native.dll";
}
else if (Target.Platform == UnrealTargetPlatform.Mac)
{
OutputFile = $"Binaries/DotNET/EpicGames.Perforce.Native/mac-x64/{ConfigFolder}/EpicGames.Perforce.Native.dylib";
}
else if (Target.Platform == UnrealTargetPlatform.Linux)
{
OutputFile = $"Binaries/DotNET/EpicGames.Perforce.Native/linux-x64/{ConfigFolder}/EpicGames.Perforce.Native.so";
}
}
}