45 lines
1.2 KiB
C#
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"),
|
|
});
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|