Files
UnrealEngine/Engine/Source/Runtime/ImageCore/ImageCore.Build.cs
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05: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");
}
}