2020-01-24 23:36:12 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2020-01-24 18:07:01 -05:00
|
|
|
|
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
|
|
|
|
|
public class IntelExtensionsFramework : ModuleRules
|
|
|
|
|
{
|
|
|
|
|
public IntelExtensionsFramework(ReadOnlyTargetRules Target) : base(Target)
|
|
|
|
|
{
|
|
|
|
|
Type = ModuleType.External;
|
|
|
|
|
|
|
|
|
|
string IntelExtensionsFrameworkPath = Target.UEThirdPartySourceDirectory + "Intel/" + "ExtensionsFramework/";
|
|
|
|
|
|
2021-01-31 15:09:58 -04:00
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
2020-01-24 18:07:01 -05:00
|
|
|
{
|
|
|
|
|
PublicSystemIncludePaths.Add(IntelExtensionsFrameworkPath);
|
|
|
|
|
|
2021-01-08 19:56:07 -04:00
|
|
|
PublicDefinitions.Add("INTEL_EXTENSIONS=1");
|
2020-01-24 18:07:01 -05:00
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
PublicDefinitions.Add("INTEL_EXTENSIONS=0");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|