Files
UnrealEngineUWP/Engine/Source/Editor/SparseVolumeTexture/SparseVolumeTexture.Build.cs
james singer 4f8a364d6a Enable SVT, TBB and OpenVDB modules for Linux
NOTE: OpenVDB's typeNameAsString will now return "<unknown>" for non-specialized types rather than calling rtti functions to get the typename so that we don't need to turn on rtti just for that

#jira UE-210180
#rb tim.doerries, zack.neyland

[CL 32521540 by james singer in ue5-main branch]
2024-03-26 16:18:18 -04:00

82 lines
1.4 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class SparseVolumeTexture : ModuleRules
{
public SparseVolumeTexture(ReadOnlyTargetRules Target) : base(Target)
{
PublicDependencyModuleNames.AddRange(
new string[]
{
"Core",
"Projects",
"Engine",
"Renderer",
"RenderCore",
"Slate",
"SlateCore",
"ApplicationCore",
"ToolWidgets",
}
);
PrivateIncludePathModuleNames.AddRange(
new string[] {
"AssetRegistry",
"AssetTools",
"EditorWidgets",
}
);
PrivateDependencyModuleNames.AddRange(
new string[] {
"RHI",
"CoreUObject",
"InputCore",
"Settings",
}
);
if (Target.bBuildEditor)
{
PrivateDependencyModuleNames.AddRange(
new string[]
{
"MainFrame",
"EditorFramework",
"UnrealEd"
}
);
}
// Specific to OpenVDB support
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Windows))
{
bUseRTTI = true;
bEnableExceptions = true;
AddEngineThirdPartyPrivateStaticDependencies(Target,
"IntelTBB",
"Blosc",
"zlib",
"Boost",
"OpenVDB"
);
}
else if (Target.Platform == UnrealTargetPlatform.Linux)
{
bUseRTTI = false;
bEnableExceptions = false;
AddEngineThirdPartyPrivateStaticDependencies(Target,
"IntelTBB",
"Blosc",
"zlib",
"Boost",
"OpenVDB"
);
}
}
}