Files
UnrealEngine/Engine/Source/Developer/AudioFormatOgg/AudioFormatOgg.Build.cs
2025-05-18 13:04:45 +08: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"
);
}
}
}