40 lines
902 B
C#
40 lines
902 B
C#
// Copyright Pandores Marketplace 2024. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class ZipIt : ModuleRules
|
|
{
|
|
public ZipIt(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
|
|
|
PublicDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"Core"
|
|
}
|
|
);
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"CoreUObject",
|
|
"Engine",
|
|
"zlib"
|
|
}
|
|
);
|
|
|
|
PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "Private"));
|
|
PrivateIncludePaths.Add(Path.Combine(ModuleDirectory, "Private/MinZip"));
|
|
PublicIncludePaths .Add(Path.Combine(ModuleDirectory, "Public"));
|
|
|
|
PublicDefinitions.Add("_FILE_OFFSET_BITS=64");
|
|
|
|
if (Target.Platform != UnrealTargetPlatform.IOS && Target.Platform != UnrealTargetPlatform.Mac)
|
|
{
|
|
PublicDefinitions.Add("_POSIX_C_SOURCE=200808L");
|
|
}
|
|
}
|
|
}
|