2014-12-07 19:09:38 -05:00
|
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 17:13:27 -04:00
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
|
|
|
|
|
|
|
public class DirectSound : ModuleRules
|
|
|
|
|
|
{
|
|
|
|
|
|
public DirectSound(TargetInfo Target)
|
|
|
|
|
|
{
|
|
|
|
|
|
Type = ModuleType.External;
|
|
|
|
|
|
|
2014-06-13 16:31:00 -04:00
|
|
|
|
string DirectXSDKDir = UEBuildConfiguration.UEThirdPartySourceDirectory + "Windows/DirectX";
|
2014-09-04 13:15:42 -04:00
|
|
|
|
PublicSystemIncludePaths.Add( DirectXSDKDir + "/include");
|
2014-03-14 17:13:27 -04:00
|
|
|
|
|
|
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
|
|
|
|
{
|
|
|
|
|
|
PublicLibraryPaths.Add( DirectXSDKDir + "/Lib/x64");
|
|
|
|
|
|
}
|
|
|
|
|
|
else if (Target.Platform == UnrealTargetPlatform.Win32)
|
|
|
|
|
|
{
|
|
|
|
|
|
PublicLibraryPaths.Add( DirectXSDKDir + "/Lib/x86");
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
PublicAdditionalLibraries.AddRange(
|
|
|
|
|
|
new string[] {
|
|
|
|
|
|
"dxguid.lib",
|
|
|
|
|
|
"dsound.lib"
|
|
|
|
|
|
}
|
|
|
|
|
|
);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|