Files
UnrealEngineUWP/Engine/Source/Developer/TextureFormatASTC/TextureFormatASTC.Build.cs
Chris Gagnon 8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00

26 lines
976 B
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class TextureFormatASTC : ModuleRules
{
public TextureFormatASTC(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePathModuleNames.AddRange(new string[] { "TargetPlatform", "TextureCompressor", "Engine" });
PrivateDependencyModuleNames.AddRange(new string[] { "Core", "ImageCore", "ImageWrapper", "TextureFormatIntelISPCTexComp" });
if (Target.Platform == UnrealTargetPlatform.Win64 || Target.Platform == UnrealTargetPlatform.Win32)
{
RuntimeDependencies.Add("$(EngineDir)/Binaries/ThirdParty/ARM/Win32/astcenc.exe");
}
else if (Target.Platform == UnrealTargetPlatform.Mac)
{
RuntimeDependencies.Add("$(EngineDir)/Binaries/ThirdParty/ARM/Mac/astcenc");
}
else if (Target.Platform == UnrealTargetPlatform.Linux)
{
RuntimeDependencies.Add("$(EngineDir)/Binaries/ThirdParty/ARM/Linux32/astcenc");
}
}
}