You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
55 lines
1.2 KiB
C#
55 lines
1.2 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class UnrealAudio : ModuleRules
|
|
{
|
|
public UnrealAudio(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PrivateIncludePaths.AddRange(
|
|
new string[] {
|
|
"Runtime/UnrealAudio/Private",
|
|
"Runtime/UnrealAudio/Private/Tests",
|
|
}
|
|
);
|
|
|
|
PublicIncludePaths.AddRange(
|
|
new string[] {
|
|
"Runtime/UnrealAudio/Public",
|
|
}
|
|
);
|
|
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"CoreUObject",
|
|
}
|
|
);
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"CoreUObject",
|
|
}
|
|
);
|
|
|
|
// Libsndfile DLL
|
|
if(!bUsePrecompiled)
|
|
{
|
|
string LibSndFilePath = Target.UEThirdPartyBinariesDirectory + "libsndfile/";
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
LibSndFilePath += "Win64";
|
|
PublicAdditionalLibraries.Add(LibSndFilePath + "/libsndfile-1.lib");
|
|
PublicDelayLoadDLLs.Add("libsndfile-1.dll");
|
|
}
|
|
// else if (Target.Platform == UnrealTargetPlatform.Mac)
|
|
// {
|
|
// LibSndFilePath += "Mac/libsndfile.1.dylib";
|
|
// PublicAdditionalLibraries.Add(LibSndFilePath);
|
|
// }
|
|
}
|
|
|
|
PrecompileForTargets = PrecompileTargetsType.Editor;
|
|
}
|
|
}
|