You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Package Metal shader source into a zip file rather than a tgz so it can be done on Windows builds too and do this asynchronously while generating the Metal libraries. This file is stored in the MetaData folder so should be moved out of the content and not get packaged. Must be unzipped at the command-line for some reason, but it works. #rb none #ROBOMERGE-SOURCE: CL 5333983 [CL 5333997 by mark satterthwaite in Main branch]
40 lines
778 B
C#
40 lines
778 B
C#
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class MetalShaderFormat : ModuleRules
|
|
{
|
|
public MetalShaderFormat(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PrivateIncludePathModuleNames.Add("TargetPlatform");
|
|
PublicIncludePaths.Add("Runtime/Apple/MetalRHI/Public");
|
|
|
|
PrivateIncludePaths.AddRange(
|
|
new string[] {
|
|
"Developer/DerivedDataCache/Public",
|
|
}
|
|
);
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[] {
|
|
"Core",
|
|
"RenderCore",
|
|
"ShaderCompilerCommon",
|
|
"ShaderPreprocessor",
|
|
"FileUtilities"
|
|
}
|
|
);
|
|
|
|
AddEngineThirdPartyPrivateStaticDependencies(Target,
|
|
"HLSLCC"
|
|
);
|
|
|
|
DynamicallyLoadedModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"DerivedDataCache",
|
|
}
|
|
);
|
|
}
|
|
}
|