You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Updating ExtensionsFramework with newest version. - Integrating Intel App Discovery. - Initial integration provided by Adam Kunka from Intel. #jira UE-205378 #rb daniele.vettorel [CL 31263717 by christopher waters in 5.4 branch]
29 lines
797 B
C#
29 lines
797 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.IO;
|
|
using UnrealBuildTool;
|
|
|
|
public class IntelExtensionsFramework : ModuleRules
|
|
{
|
|
public IntelExtensionsFramework(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
if (Target.Platform.IsInGroup(UnrealPlatformGroup.Windows) && Target.Architecture.bIsX64)
|
|
{
|
|
string ThirdPartyDir = Path.Combine(Target.UEThirdPartySourceDirectory, "Intel", "ExtensionsFramework");
|
|
string IncludeDir = ThirdPartyDir;
|
|
string LibrariesDir = ThirdPartyDir;
|
|
|
|
PublicDefinitions.Add("INTEL_EXTENSIONS=1");
|
|
|
|
PublicSystemIncludePaths.Add(IncludeDir);
|
|
PublicAdditionalLibraries.Add(Path.Combine(LibrariesDir, "igdext64.lib"));
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("INTEL_EXTENSIONS=0");
|
|
}
|
|
}
|
|
} |