You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Removed includes (using IWYU) in private files #preflight 63c79978ac35a0e9dabbe408 #rb none [CL 23770038 by henrik karlsson in ue5-main branch]
43 lines
1.3 KiB
C#
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.KeepAsIsForNow;
|
|
|
|
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"
|
|
);
|
|
}
|
|
}
|
|
}
|