Files
UnrealEngineUWP/Engine/Source/ThirdParty/OpenAL/OpenAL.build.cs
Matthew Griffin ccd90b10b4 Listing runtime dependencies in module rules instead of InstalledEngineFilters.ini
Added code when filtering rocket files to search through build products for target files and add their runtime dependencies to the filter rules.

#jira UEB-372

[CL 2672116 by Matthew Griffin in Main branch]
2015-08-28 06:22:07 -04:00

32 lines
931 B
C#

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
using System.Diagnostics;
public class OpenAL : ModuleRules
{
public OpenAL(TargetInfo Target)
{
Type = ModuleType.External;
string version = "1.15.1";
string OpenALPath = UEBuildConfiguration.UEThirdPartySourceDirectory + "OpenAL/" + version + "/";
PublicIncludePaths.Add(OpenALPath + "include");
if (Target.Platform == UnrealTargetPlatform.HTML5)
{
if (Target.Architecture == "-win32")
{
// add libs for OpenAL32
PublicAdditionalLibraries.Add(OpenALPath + "lib/Win32/libOpenAL32.dll.a");
}
}
else if (Target.Platform == UnrealTargetPlatform.Linux)
{
PublicLibraryPaths.Add(OpenALPath + "lib/Linux/" + Target.Architecture);
PublicAdditionalLibraries.Add("openal");
RuntimeDependencies.Add(new RuntimeDependency("$(EngineDir)/Binaries/Linux/libopenal.so.1"));
}
}
}