You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
using UnrealBuildTool;
|
|
|
|
public class DirectShow : ModuleRules
|
|
{
|
|
public DirectShow(TargetInfo Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
if ((Target.Platform == UnrealTargetPlatform.Win64) ||
|
|
(Target.Platform == UnrealTargetPlatform.Win32))
|
|
{
|
|
|
|
string DirectShowLibPath = UEBuildConfiguration.UEThirdPartySourceDirectory
|
|
+ "DirectShow/DirectShow-1.0.0/Lib/" + ((Target.Platform == UnrealTargetPlatform.Win32) ? "Win32" : "Win64") + "/vs" + WindowsPlatform.GetVisualStudioCompilerVersionName() + "/";
|
|
|
|
PublicIncludePaths.Add(UEBuildConfiguration.UEThirdPartySourceDirectory + "DirectShow/DirectShow-1.0.0/src/Public");
|
|
|
|
|
|
PublicLibraryPaths.Add( DirectShowLibPath );
|
|
|
|
string LibraryName = "DirectShow";
|
|
if (Target.Configuration == UnrealTargetConfiguration.Debug && BuildConfiguration.bDebugBuildsActuallyUseDebugCRT)
|
|
{
|
|
LibraryName += "d";
|
|
}
|
|
if (Target.Platform == UnrealTargetPlatform.Win64)
|
|
{
|
|
LibraryName += "_64";
|
|
}
|
|
LibraryName += ".lib";
|
|
PublicAdditionalLibraries.Add(LibraryName);
|
|
}
|
|
}
|
|
}
|
|
|