You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Added OpenSSL 1.0.1g alongside the new Perforce libs & updated build script to link against them, rather than the stub. Also added debug versions of the Perforce libs so bDebugBuildsActuallyUseDebugCRT works again. Added delay-loading of the OpenSSL dlls on Windows 64-bit. Added OpenSSL dlls to the Rocket distillation script. TTP# 331132 - LIVE: Editor: Source Control: Request to support SSL connections to Perforce servers reviewed by Andrew.Brown [CL 2055257 by Thomas Sarkanen in Main branch]
45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
public class OpenSSL : ModuleRules
|
|
{
|
|
public OpenSSL(TargetInfo Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
string LibFolder = "lib/";
|
|
string LibPrefix = "";
|
|
string LibPostfixAndExt = (Target.Configuration == UnrealTargetConfiguration.Debug && BuildConfiguration.bDebugBuildsActuallyUseDebugCRT) ? "d." : ".";
|
|
string OpenSSLPath = UEBuildConfiguration.UEThirdPartyDirectory + "OpenSSL/1.0.1g/";
|
|
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
PublicIncludePaths.Add(OpenSSLPath + "include");
|
|
|
|
LibFolder += "Win64/";
|
|
|
|
if(WindowsPlatform.Compiler == WindowsCompiler.VisualStudio2013)
|
|
{
|
|
LibFolder += "VS2013/";
|
|
}
|
|
else
|
|
{
|
|
LibFolder += "VS2012/";
|
|
}
|
|
|
|
LibPostfixAndExt += "lib";
|
|
PublicLibraryPaths.Add(OpenSSLPath + LibFolder);
|
|
}
|
|
|
|
PublicAdditionalLibraries.Add(LibPrefix + "libeay32" + LibPostfixAndExt);
|
|
PublicAdditionalLibraries.Add(LibPrefix + "ssleay32" + LibPostfixAndExt);
|
|
|
|
PublicDelayLoadDLLs.AddRange(
|
|
new string[] {
|
|
"libeay32.dll",
|
|
"ssleay32.dll"
|
|
}
|
|
);
|
|
}
|
|
} |