Files
UnrealEngine/Engine/Plugins/Media/HAPDecoderElectra/Source/HAPDecoderElectra/HAPDecoderElectra.Build.cs
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

45 lines
1.2 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class HAPDecoderElectra : ModuleRules
{
public HAPDecoderElectra(ReadOnlyTargetRules Target) : base(Target)
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"Projects",
"ElectraBase",
"ElectraSamples",
"ElectraCodecFactory",
"ElectraDecoders"
});
if (Target.Platform == UnrealTargetPlatform.Win64 || Target.Platform == UnrealTargetPlatform.Mac)
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"HAPLib",
"SnappyLib",
});
if (Target.Platform == UnrealTargetPlatform.Win64)
{
PublicDependencyModuleNames.Add("DirectX");
AddEngineThirdPartyPrivateStaticDependencies(Target, "DX12");
if (Target.WindowsPlatform.Architecture != UnrealArch.Arm64)
{
PublicAdditionalLibraries.AddRange(new string[] {
Path.Combine(Target.WindowsPlatform.DirectXLibDir, "dxerr.lib"),
});
}
}
}
}
}
}