Files
UnrealEngineUWP/Engine/Source/Developer/AudioFormatOpus/AudioFormatOpus.Build.cs
David Harvey 37da4676e3 HoloLens build rules: Engine modules part 2
#preflight 628cb13af237058787bb0357
#jira UE-149794
#rnx
#rb Jeff.Fisher

[CL 20361216 by David Harvey in ue5-main branch]
2022-05-25 04:04:16 -04:00

35 lines
750 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class AudioFormatOpus : ModuleRules
{
protected virtual bool bWithLibOpus { get => (
(Target.Platform == UnrealTargetPlatform.Win64) ||
Target.IsInPlatformGroup(UnrealPlatformGroup.Linux) ||
(Target.Platform == UnrealTargetPlatform.Mac)
);
}
public AudioFormatOpus(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePathModuleNames.Add("TargetPlatform");
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"Engine"
}
);
if (bWithLibOpus)
{
AddEngineThirdPartyPrivateStaticDependencies(Target,
"libOpus"
);
}
PublicDefinitions.Add("WITH_OGGVORBIS=1");
}
}