Files
UnrealEngineUWP/Engine/Source/Developer/AudioFormatOpus/AudioFormatOpus.Build.cs
Ben Wright 297e433f87 Add all changes required for UWP on 4.21
(based from commit d2d9eab01bf364dce4edee40e6f4ac94b23a7d42)

(cherry picked from commit d072e2774e)
2020-05-12 13:08:08 +12:00

38 lines
1010 B
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class AudioFormatOpus : ModuleRules
{
public AudioFormatOpus(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePathModuleNames.Add("TargetPlatform");
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"Engine"
}
);
if ((Target.Platform == UnrealTargetPlatform.Win64) ||
(Target.Platform == UnrealTargetPlatform.Win32) ||
// @ATG_CHANGE : BEGIN UWP support
(Target.Platform == UnrealTargetPlatform.UWP64) ||
(Target.Platform == UnrealTargetPlatform.UWP32) ||
// @ATG_CHANGE : END
(Target.Platform == UnrealTargetPlatform.Linux) ||
(Target.Platform == UnrealTargetPlatform.Mac) ||
(Target.Platform == UnrealTargetPlatform.XboxOne)
//(Target.Platform == UnrealTargetPlatform.HTML5) // TODO test this for HTML5 !
)
{
AddEngineThirdPartyPrivateStaticDependencies(Target,
"libOpus"
);
}
PublicDefinitions.Add("WITH_OGGVORBIS=1");
}
}