Files
UnrealEngineUWP/Engine/Source/Developer/AudioFormatOgg/AudioFormatOgg.Build.cs
jimmy smith 5d68918c4b Move all Engine Decoders into their own modules
#jira UE-204038
#rb jake.burga
#tests compilation tests, all platforms

[CL 30660535 by jimmy smith in ue5-main branch]
2024-01-17 11:51:40 -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"
);
}
}
}