Files
UnrealEngine/Engine/Source/Runtime/Apple/MetalRHI/MetalRHI.Build.cs
2025-05-18 13:04:45 +08:00

39 lines
720 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System.IO;
using UnrealBuildTool;
public class MetalRHI : ModuleRules
{
public MetalRHI(ReadOnlyTargetRules Target) : base(Target)
{
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"ApplicationCore",
"Engine",
"RHI",
"RHICore",
"RenderCore",
"Projects",
"TraceLog",
}
);
AddEngineThirdPartyPrivateStaticDependencies(Target,
"MetalCPP"
);
AddEngineThirdPartyPrivateStaticDependencies(Target,
"MetalShaderConverter"
);
PublicWeakFrameworks.Add("Metal");
if (Target.Platform == UnrealTargetPlatform.Mac)
{
PublicFrameworks.Add("QuartzCore");
}
}
}