You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
32 lines
1009 B
C#
32 lines
1009 B
C#
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class IntelISPCTexComp : ModuleRules
|
|
{
|
|
public IntelISPCTexComp(TargetInfo Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
string libraryPath = UEBuildConfiguration.UEThirdPartySourceDirectory + "IntelISPCTexComp/ispc_texcomp/";
|
|
PublicIncludePaths.Add(libraryPath);
|
|
|
|
bool bUseDebugBuild = false;
|
|
if ( Target.Configuration == UnrealTargetConfiguration.Debug && BuildConfiguration.bDebugBuildsActuallyUseDebugCRT )
|
|
{
|
|
bUseDebugBuild = true;
|
|
}
|
|
|
|
if ( (Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Win32) )
|
|
{
|
|
string platformName = (Target.Platform == UnrealTargetPlatform.Win64) ? "Win64" : "Win32";
|
|
string configName = bUseDebugBuild ? "Debug" : "Release";
|
|
PublicLibraryPaths.Add(libraryPath + "lib/" + platformName + "-" + configName);
|
|
|
|
PublicAdditionalLibraries.Add("ispc_texcomp.lib");
|
|
PublicDelayLoadDLLs.Add("ispc_texcomp.dll");
|
|
}
|
|
}
|
|
}
|
|
|