Files
UnrealEngineUWP/Engine/Source/Developer/SimplygonMeshReduction/SimplygonMeshReduction.Build.cs
Ben Marsh 13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05:00

46 lines
1.2 KiB
C#

// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
using System.IO;
using UnrealBuildTool;
public class SimplygonMeshReduction : ModuleRules
{
public SimplygonMeshReduction(ReadOnlyTargetRules Target) : base(Target)
{
PublicIncludePaths.Add("Developer/SimplygonMeshReduction/Public");
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"Engine",
"RenderCore",
"RawMesh",
"MaterialUtilities",
"MeshBoneReduction",
"RHI",
"AnimationModifiers",
}
);
PrivateIncludePathModuleNames.AddRange(
new string[] {
"MeshUtilities",
"MeshReductionInterface",
}
);
AddEngineThirdPartyPrivateStaticDependencies(Target, "Simplygon");
string SimplygonPath = Target.UEThirdPartySourceDirectory + "NotForLicensees/Simplygon/Simplygon-latest/Inc/SimplygonSDK.h";
if (Target.Platform == UnrealTargetPlatform.Win64 && File.Exists(SimplygonPath))
{
PrecompileForTargets = PrecompileTargetsType.Editor;
}
else
{
PrecompileForTargets = PrecompileTargetsType.None;
}
}
}