You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Needs to also be a RuntimeDependency to ensure it is staged and copied. #rnx #jira UE-159016 #rb none #fyi jeremie.roy #preflight 62c8f18c756222ced45c7655 [CL 21019140 by Ryan Hummer in ue5-main branch]
31 lines
855 B
C#
31 lines
855 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);
|
|
RuntimeDependencies.Add(DVPDLLPath);
|
|
}
|
|
}
|
|
}
|
|
|