You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb none #rnx #preflight 629931785143e4aacd8f5ddf [CL 20476672 by Joe Kirchoff in ue5-main branch]
33 lines
1.0 KiB
C#
33 lines
1.0 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class http_parser : ModuleRules
|
|
{
|
|
protected readonly string Version = "2.9.4";
|
|
|
|
public http_parser(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
string VersionPath = Path.Combine(ModuleDirectory, Version);
|
|
string LibraryPath = Path.Combine(VersionPath, "lib");
|
|
|
|
PublicSystemIncludePaths.Add(Path.Combine(VersionPath, "include"));
|
|
|
|
if (Target.IsInPlatformGroup(UnrealPlatformGroup.Unix))
|
|
{
|
|
PublicAdditionalLibraries.Add(Path.Combine(LibraryPath, "Unix", Target.Architecture, "Release", "libhttp_parser.a"));
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.Mac)
|
|
{
|
|
PublicAdditionalLibraries.Add(Path.Combine(LibraryPath, "Mac", "Release", "libhttp_parser.a"));
|
|
}
|
|
else if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
PublicAdditionalLibraries.Add(Path.Combine(LibraryPath, "Win64", Target.WindowsPlatform.Architecture.ToString().ToLowerInvariant(), "Release", "http_parser.lib"));
|
|
}
|
|
}
|
|
}
|