You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
29 lines
880 B
C#
29 lines
880 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
using UnrealBuildTool;
|
|
|
|
public class DirectShow : ModuleRules
|
|
{
|
|
public DirectShow(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
if (Target.Platform.IsInGroup(UnrealPlatformGroup.Windows))
|
|
{
|
|
|
|
string DirectShowLibPath = Target.UEThirdPartySourceDirectory
|
|
+ "DirectShow/DirectShow-1.0.0/Lib/Win64/vs" + Target.WindowsPlatform.GetVisualStudioCompilerVersionName() + "/";
|
|
|
|
PublicSystemIncludePaths.Add(Target.UEThirdPartySourceDirectory + "DirectShow/DirectShow-1.0.0/src/Public");
|
|
|
|
string LibraryName = "DirectShow";
|
|
if (Target.Configuration == UnrealTargetConfiguration.Debug && Target.bDebugBuildsActuallyUseDebugCRT)
|
|
{
|
|
LibraryName += "d";
|
|
}
|
|
LibraryName += "_64.lib";
|
|
PublicAdditionalLibraries.Add(DirectShowLibPath + LibraryName);
|
|
}
|
|
}
|
|
}
|
|
|