Files
UnrealEngineUWP/Engine/Source/Runtime/ImageCore/ImageCore.Build.cs
charles bloom 0d75f73521 ImageCore.build.cs clarifying comment
#rb none
#rnx

[CL 25798720 by charles bloom in ue5-main branch]
2023-06-05 14:21:22 -04:00

25 lines
897 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class ImageCore : ModuleRules
{
public ImageCore(ReadOnlyTargetRules Target) : base(Target)
{
// include only, no link :
// ImageCoreUtils.h includes TextureDefines.h from Engine, so technically it should be a "PublicIncludePathModuleNames" include,
// but that breaks the build because there are other modules that use ImageCore that have conflicts with Engine headers.
// So, leave it as PrivateIncludePathModuleNames, but then any module that uses ImageCoreUtils needs to PrivateIncludePathModuleNames Engine.
// PublicIncludePathModuleNames
PrivateIncludePathModuleNames.AddRange(new string[]
{
"Engine",
});
PrivateDependencyModuleNames.Add("ColorManagement");
PrivateDependencyModuleNames.Add("CoreUObject"); // for TextureDefines.h
PublicDependencyModuleNames.Add("Core");
}
}