You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
29 lines
796 B
C#
29 lines
796 B
C#
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
using UnrealBuildTool;
|
|
|
|
public class NVAPI : ModuleRules
|
|
{
|
|
public NVAPI(TargetInfo Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
string nvApiPath = UEBuildConfiguration.UEThirdPartySourceDirectory + "NVIDIA/nvapi/";
|
|
PublicSystemIncludePaths.Add(nvApiPath);
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
string nvApiLibPath = nvApiPath + "amd64/";
|
|
PublicLibraryPaths.Add(nvApiLibPath);
|
|
PublicAdditionalLibraries.Add("nvapi64.lib");
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.Win32)
|
|
{
|
|
string nvApiLibPath = nvApiPath + "x86/";
|
|
PublicLibraryPaths.Add(nvApiLibPath);
|
|
PublicAdditionalLibraries.Add("nvapi.lib");
|
|
}
|
|
|
|
}
|
|
}
|
|
|