Files
UnrealEngineUWP/Engine/Source/Developer/AudioFormatOgg/AudioFormatOgg.Build.cs

35 lines
701 B
C#
Raw Normal View History

// 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"
);
}
}
}