Files
UnrealEngineUWP/Engine/Source/Runtime/ImageCore/ImageCore.Build.cs
joe kirchoff bc8e4bd625 Use module reference for AtomicQueue
#rnx

[CL 30443352 by joe kirchoff in ue5-main branch]
2023-12-22 14:29:08 -05:00

26 lines
954 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
PrivateDependencyModuleNames.Add("stb_image_resize2");
PublicDependencyModuleNames.Add("Core");
}
}