Files
UnrealEngineUWP/Engine/Source/ThirdParty/DirectShow/DirectShow.Build.cs
ben marsh 2b46ba7b94 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4662404 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4662413 by ben marsh in Dev-Networking branch]
2018-12-14 13:44:01 -05:00

37 lines
1.1 KiB
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class DirectShow : ModuleRules
{
public DirectShow(ReadOnlyTargetRules Target) : base(Target)
{
Type = ModuleType.External;
if ((Target.Platform == UnrealTargetPlatform.Win64) ||
(Target.Platform == UnrealTargetPlatform.Win32))
{
string DirectShowLibPath = Target.UEThirdPartySourceDirectory
+ "DirectShow/DirectShow-1.0.0/Lib/" + ((Target.Platform == UnrealTargetPlatform.Win32) ? "Win32" : "Win64") + "/vs" + Target.WindowsPlatform.GetVisualStudioCompilerVersionName() + "/";
PublicSystemIncludePaths.Add(Target.UEThirdPartySourceDirectory + "DirectShow/DirectShow-1.0.0/src/Public");
PublicLibraryPaths.Add( DirectShowLibPath );
string LibraryName = "DirectShow";
if (Target.Configuration == UnrealTargetConfiguration.Debug && Target.bDebugBuildsActuallyUseDebugCRT)
{
LibraryName += "d";
}
if (Target.Platform == UnrealTargetPlatform.Win64)
{
LibraryName += "_64";
}
LibraryName += ".lib";
PublicAdditionalLibraries.Add(LibraryName);
}
}
}