// Copyright 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) { 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.IsInPlatformGroup(UnrealPlatformGroup.Linux)) { RuntimeDependencies.Add("$(EngineDir)/Binaries/ThirdParty/ARM/Linux32/astcenc"); } } }