Files
UnrealEngineUWP/Engine/Source/Runtime/ImageCore/ImageCore.Build.cs
eric renaudhoude e34f40ba3e ColorManagement: Remaining deprecation of headers & color management module, since they were moved to Core at CL 32299544.
#jira UE-201221
#rb Sebastien.Hillaire
#rnx

[CL 32470542 by eric renaudhoude in ue5-main branch]
2024-03-25 11:04:55 -04:00

25 lines
899 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("CoreUObject"); // for TextureDefines.h
PrivateDependencyModuleNames.Add("stb_image_resize2");
PublicDependencyModuleNames.Add("Core");
}
}