Files
UnrealEngineUWP/Engine/Source/Developer/TextureFormatASTC/TextureFormatASTC.Build.cs

25 lines
960 B
C#
Raw Normal View History

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