Files
UnrealEngineUWP/Engine/Source/Developer/AudioFormatOpus/AudioFormatOpus.Build.cs
Max Chen 4561801a81 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) @7119039
#rb none

[CL 7120528 by Max Chen in Dev-Editor branch]
2019-06-21 01:21:43 -04:00

35 lines
903 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) ||
(Target.Platform == UnrealTargetPlatform.HoloLens) ||
(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");
}
}