Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

28 lines
634 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class DX9 : ModuleRules
{
protected virtual string LibDir { get => (Target.Platform == UnrealTargetPlatform.Win64) ? Target.WindowsPlatform.DirectXLibDir : null; }
public DX9(ReadOnlyTargetRules Target) : base(Target)
{
Type = ModuleType.External;
if (Target.Platform == UnrealTargetPlatform.Win64)
{
PublicDependencyModuleNames.Add("DirectX");
PublicAdditionalLibraries.AddRange(
new string[] {
LibDir + "d3d9.lib",
LibDir + "dxguid.lib",
LibDir + "dinput8.lib",
LibDir + "xapobase.lib"
}
);
}
}
}