2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
|
|
|
|
|
public class ImageWrapper : ModuleRules
|
|
|
|
|
{
|
|
|
|
|
public ImageWrapper(TargetInfo Target)
|
|
|
|
|
{
|
|
|
|
|
PrivateIncludePaths.Add("Developer/ImageWrapper/Private");
|
|
|
|
|
|
|
|
|
|
Definitions.Add("WITH_UNREALPNG=1");
|
2014-08-12 08:36:24 -04:00
|
|
|
Definitions.Add("WITH_UNREALJPEG=1");
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
PrivateDependencyModuleNames.Add("Core");
|
|
|
|
|
|
|
|
|
|
AddThirdPartyPrivateStaticDependencies(Target,
|
|
|
|
|
"zlib",
|
|
|
|
|
"UElibPNG",
|
|
|
|
|
"UElibJPG"
|
|
|
|
|
);
|
2014-08-12 08:36:24 -04:00
|
|
|
|
|
|
|
|
// Add openEXR lib for windows builds.
|
2015-02-17 10:09:15 -05:00
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64 || Target.Platform == UnrealTargetPlatform.Win32 || Target.Platform == UnrealTargetPlatform.Mac)
|
2014-08-12 08:36:24 -04:00
|
|
|
{
|
|
|
|
|
Definitions.Add("WITH_UNREALEXR=1");
|
|
|
|
|
AddThirdPartyPrivateStaticDependencies(Target, "UEOpenEXR");
|
|
|
|
|
}
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
}
|