Files
UnrealEngineUWP/Engine/Source/ThirdParty/libxml2/libxml2.build.cs
Marc Audy 68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00

28 lines
757 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
public class libxml2 : ModuleRules
{
const string CurrentLibxml2Version = "libxml2-2.9.10";
public libxml2(ReadOnlyTargetRules Target) : base(Target)
{
Type = ModuleType.External;
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Unix))
{
string xml2Path = Path.Combine(Target.UEThirdPartySourceDirectory, "libxml2", CurrentLibxml2Version);
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Unix))
{
AddEngineThirdPartyPrivateStaticDependencies(Target, "zlib");
PublicIncludePaths.Add(Path.Combine(xml2Path, "include"));
PublicAdditionalLibraries.Add(Path.Combine(xml2Path, "lib", Target.Architecture, "libxml2.a"));
}
}
}
}