2019-12-26 15:32:37 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2014-04-25 08:39:14 -04:00
|
|
|
|
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
|
|
|
|
|
public class AudioFormatOpus : ModuleRules
|
|
|
|
|
{
|
2017-01-30 16:52:08 -05:00
|
|
|
public AudioFormatOpus(ReadOnlyTargetRules Target) : base(Target)
|
2014-04-25 08:39:14 -04:00
|
|
|
{
|
|
|
|
|
PrivateIncludePathModuleNames.Add("TargetPlatform");
|
|
|
|
|
|
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
|
|
|
new string[] {
|
|
|
|
|
"Core",
|
|
|
|
|
"Engine"
|
|
|
|
|
}
|
2019-09-30 15:13:56 -04:00
|
|
|
);
|
2014-04-25 08:39:14 -04:00
|
|
|
|
|
|
|
|
if ((Target.Platform == UnrealTargetPlatform.Win64) ||
|
2019-06-10 19:47:29 -04:00
|
|
|
(Target.Platform == UnrealTargetPlatform.HoloLens) ||
|
2019-09-17 11:58:25 -04:00
|
|
|
Target.IsInPlatformGroup(UnrealPlatformGroup.Linux) ||
|
2021-01-31 14:34:28 -04:00
|
|
|
(Target.Platform == UnrealTargetPlatform.Mac)
|
2017-08-21 15:05:19 -04:00
|
|
|
)
|
2014-04-25 08:39:14 -04:00
|
|
|
{
|
2017-08-21 15:05:19 -04:00
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target,
|
2014-04-25 08:39:14 -04:00
|
|
|
"libOpus"
|
2019-09-30 15:13:56 -04:00
|
|
|
);
|
2014-04-25 08:39:14 -04:00
|
|
|
}
|
2016-08-18 10:28:43 -04:00
|
|
|
|
2017-12-12 18:32:45 -05:00
|
|
|
PublicDefinitions.Add("WITH_OGGVORBIS=1");
|
2014-04-25 08:39:14 -04:00
|
|
|
}
|
|
|
|
|
}
|