You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb simon.therriault #jira UE-145995 #preflight 623c98710a073579730aa78f [CL 19497546 by jeremie roy in ue5-main branch]
30 lines
815 B
C#
30 lines
815 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
using UnrealBuildTool;
|
|
using System;
|
|
|
|
public class GPUDirect : ModuleRules
|
|
{
|
|
public GPUDirect(ReadOnlyTargetRules Target)
|
|
: base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
String DVPPath = Target.UEThirdPartySourceDirectory + "NVIDIA/GPUDirect/";
|
|
PublicSystemIncludePaths.Add(DVPPath + "include");
|
|
|
|
String DVPLibPath = DVPPath + "lib/Windows/x64/";
|
|
PublicAdditionalLibraries.Add(DVPLibPath + "dvp.lib");
|
|
|
|
|
|
String DVPDLLFullName = "dvp.dll";
|
|
String DVPDLLPath = "$(EngineDir)/Binaries/ThirdParty/NVIDIA/GPUDirect/Win64/" + DVPDLLFullName;
|
|
|
|
PrivateRuntimeLibraryPaths.Add("$(EngineDir)/Binaries/ThirdParty/NVIDIA/GPUDirect/Win64");
|
|
PublicDelayLoadDLLs.Add(DVPDLLFullName);
|
|
}
|
|
}
|
|
}
|
|
|