You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
30 lines
833 B
C#
30 lines
833 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");
|
|
}
|
|
}
|
|
}
|