Files
UnrealEngineUWP/Engine/Plugins/Runtime/GeometryProcessing/Source/GeometryAlgorithms/GeometryAlgorithms.Build.cs
henrik karlsson ea8ea49aa2 [UBT]
* Changed lots of modules to use IWYUSupport instead of bEnforceIWYU (which is being deprecated)

#preflight 63bc8486c45a2c81e0b14fe8
#rb none

[CL 23641460 by henrik karlsson in ue5-main branch]
2023-01-11 01:32:59 -05:00

43 lines
1.3 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class GeometryAlgorithms : ModuleRules
{
public GeometryAlgorithms(ReadOnlyTargetRules Target) : base(Target)
{
IWYUSupport = IWYUSupport.None;
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
// Note: The module purposefully doesn't have a dependency on CoreUObject.
// If possible, we would like avoid having UObjects in GeometryProcessing
// modules to keep the door open for writing standalone command-line programs
// (which won't have UObject garbage collection).
PublicDependencyModuleNames.AddRange(
new string[] {
"Core",
"GeometryCore"
}
);
PrivateDependencyModuleNames.AddRange(
new string[] {
"Eigen",
}
);
UnsafeTypeCastWarningLevel = WarningLevel.Error;
// fTetWild can optinally use TBB for multithreading, but it is not consistently faster to do so; currently default-disabled
bool bUseTBB = false;
if (bUseTBB && // Note TBB is not supported on all platforms, so we only enable it on windows and mac
(Target.Platform.IsInGroup(UnrealPlatformGroup.Windows) || Target.Platform == UnrealTargetPlatform.Mac))
{
PrivateDefinitions.Add("FLOAT_TETWILD_USE_TBB");
AddEngineThirdPartyPrivateStaticDependencies(Target,
"IntelTBB"
);
}
}
}