Files
UnrealEngineUWP/Engine/Source/ThirdParty/Intel/ExtensionsFramework/IntelExtensionsFramework.Build.cs
christopher waters 5a2c5b4f70 Intel Extensions
- 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]
2024-02-07 13:06:02 -05:00

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");
}
}
}