You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
26 lines
825 B
C#
26 lines
825 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class IntelISPC : ModuleRules
|
|
{
|
|
public IntelISPC(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
if (Target.bCompileISPC == true &&
|
|
(Target.WindowsPlatform.StaticAnalyzer != WindowsStaticAnalyzer.PVSStudio &&
|
|
Target.WindowsPlatform.StaticAnalyzer != WindowsStaticAnalyzer.VisualCpp))
|
|
{
|
|
// For Android, ISPC is on for some archs, off for others. Decide which in the tool chain.
|
|
if (Target.Platform != UnrealTargetPlatform.Android && Target.Platform != UnrealTargetPlatform.Lumin)
|
|
{
|
|
PublicDefinitions.Add("INTEL_ISPC=1");
|
|
}
|
|
}
|
|
else
|
|
{
|
|
PublicDefinitions.Add("INTEL_ISPC=0");
|
|
}
|
|
}
|
|
} |