39 lines
720 B
C#
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");
|
|
}
|
|
}
|
|
}
|