// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class DirectSound : ModuleRules { public DirectSound(ReadOnlyTargetRules Target) : base(Target) { Type = ModuleType.External; string DirectXSDKDir = Target.UEThirdPartySourceDirectory + "Windows/DirectX"; string LibDir = null; if (Target.Platform == UnrealTargetPlatform.Win64) { LibDir = DirectXSDKDir + "/Lib/x64/"; } if (LibDir != null) { PublicSystemIncludePaths.Add(DirectXSDKDir + "/include"); PublicAdditionalLibraries.AddRange( new string[] { LibDir + "dxguid.lib", LibDir + "dsound.lib" } ); } } }