Files
UnrealEngineUWP/Engine/Source/Editor/AudioEditor/AudioEditor.Build.cs
aaron mcleran 9346fd1abc Moving libsndfile from runtime to editor time dependency.
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 11967786 in //UE4/Release-4.25/... via CL 11967808
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11967879 by aaron mcleran in Main branch]
2020-03-05 17:57:10 -05:00

74 lines
1.8 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class AudioEditor : ModuleRules
{
public AudioEditor(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePaths.AddRange(
new string[] {
"Editor/AudioEditor/Private",
"Editor/AudioEditor/Private/Factories",
"Editor/AudioEditor/Private/AssetTypeActions"
});
PrivateDependencyModuleNames.AddRange(
new string[] {
"AudioMixer",
"ToolMenus",
"AudioExtensions"
});
PublicDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
"ApplicationCore",
"AudioMixer",
"InputCore",
"Engine",
"UnrealEd",
"Slate",
"SlateCore",
"EditorStyle",
"RenderCore",
"LevelEditor",
"Landscape",
"PropertyEditor",
"DetailCustomizations",
"ClassViewer",
"GraphEditor",
"ContentBrowser",
}
);
PrivateIncludePathModuleNames.AddRange(
new string[] {
"AssetTools"
});
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Windows))
{
string PlatformName = Target.Platform == UnrealTargetPlatform.Win32 ? "Win32" : "Win64";
string LibSndFilePath = Target.UEThirdPartyBinariesDirectory + "libsndfile/";
LibSndFilePath += PlatformName;
PublicAdditionalLibraries.Add(LibSndFilePath + "/libsndfile-1.lib");
PublicDelayLoadDLLs.Add("libsndfile-1.dll");
PublicIncludePathModuleNames.Add("UELibSampleRate");
RuntimeDependencies.Add("$(EngineDir)/Binaries/ThirdParty/libsndfile/" + PlatformName + "/libsndfile-1.dll");
PublicDefinitions.Add("WITH_SNDFILE_IO=1");
}
else
{
PublicDefinitions.Add("WITH_SNDFILE_IO=0");
}
}
}