Files
UnrealEngineUWP/Engine/Source/Developer/AudioFormatOgg/AudioFormatOgg.Build.cs
UnrealBot 73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00

35 lines
701 B
C#

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