2014-12-07 19:09:38 -05:00
|
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-04-30 23:51:07 -04:00
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
|
|
|
|
|
|
|
public class NVAPI : ModuleRules
|
|
|
|
|
|
{
|
|
|
|
|
|
public NVAPI(TargetInfo Target)
|
|
|
|
|
|
{
|
|
|
|
|
|
Type = ModuleType.External;
|
|
|
|
|
|
|
2014-06-13 16:31:00 -04:00
|
|
|
|
string nvApiPath = UEBuildConfiguration.UEThirdPartySourceDirectory + "NVIDIA/nvapi/";
|
2014-04-30 23:51:07 -04:00
|
|
|
|
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");
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|