Files
UnrealEngineUWP/Engine/Source/Programs/MayaLiveLinkPlugin/MayaLiveLinkPlugin2016.Target.cs
ben marsh cf4a18955c Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4718806 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4718825 by ben marsh in Dev-Networking branch]
2019-01-14 12:15:37 -05:00

42 lines
1.4 KiB
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public abstract class MayaLiveLinkPluginTargetBase : TargetRules
{
public MayaLiveLinkPluginTargetBase(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
bShouldCompileAsDLL = true;
LinkType = TargetLinkType.Monolithic;
// We only need minimal use of the engine for this plugin
bBuildDeveloperTools = false;
bUseMallocProfiler = false;
bBuildWithEditorOnlyData = true;
bCompileAgainstEngine = false;
bCompileAgainstCoreUObject = true;
bCompileICU = false;
bHasExports = true;
bBuildInSolutionByDefault = false;
// Add a post-build step that copies the output to a file with the .mll extension
string OutputName = "MayaLiveLinkPlugin";
if(Target.Configuration != UnrealTargetConfiguration.Development)
{
OutputName = string.Format("{0}-{1}-{2}", OutputName, Target.Platform, Target.Configuration);
}
PostBuildSteps.Add(string.Format("copy /Y \"$(EngineDir)\\Binaries\\Win64\\{0}.dll\" \"$(EngineDir)\\Binaries\\Win64\\{0}.mll\" >nul: & echo Copied output to $(EngineDir)\\Binaries\\Win64\\{0}.mll", OutputName));
}
}
public class MayaLiveLinkPlugin2016Target : MayaLiveLinkPluginTargetBase
{
public MayaLiveLinkPlugin2016Target(TargetInfo Target) : base(Target)
{
LaunchModuleName = "MayaLiveLinkPlugin2016";
}
}