Files
UnrealEngine/Engine/Source/Developer/AudioFormatOgg/AudioFormatOgg.Build.cs
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

36 lines
727 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",
"VorbisAudioDecoder"
}
);
if (bWithOggVorbis)
{
AddEngineThirdPartyPrivateStaticDependencies(Target,
"UEOgg",
"Vorbis",
"VorbisFile"
);
}
}
}