// Copyright Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class ShaderCompilerCommon : ModuleRules { public ShaderCompilerCommon(ReadOnlyTargetRules Target) : base(Target) { PrivateDependencyModuleNames.AddRange( new string[] { "Core", "RenderCore", } ); if (Target.Platform == UnrealTargetPlatform.Mac || Target.Platform == UnrealTargetPlatform.Win64 || Target.Platform == UnrealTargetPlatform.Linux) { AddEngineThirdPartyPrivateStaticDependencies(Target, "ShaderConductor"); } // We only need a header containing definitions PublicSystemIncludePaths.Add("ThirdParty/hlslcc/hlslcc/src/hlslcc_lib"); PublicSystemIncludePaths.Add("ThirdParty/SPIRV-Reflect/SPIRV-Reflect"); } }