You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#fyi josh.adams #preflight 63d1c8b96a14d8406d8bc780 [CL 23862381 by bryan sefcik in ue5-main branch]
29 lines
1017 B
C#
29 lines
1017 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class DirectStorage : ModuleRules
|
|
{
|
|
public DirectStorage(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
if (Target.Platform.IsInGroup(UnrealPlatformGroup.Windows))
|
|
{
|
|
string ArchFolder = Target.Architecture.WindowsLibDir;
|
|
string IncludeFolder = Path.Combine(ModuleDirectory, "Include", "DirectStorage");
|
|
string LibFolder = Path.Combine(ModuleDirectory, "Lib", ArchFolder);
|
|
string BinariesFolder = Path.Combine("$(EngineDir)", "Binaries", "ThirdParty", "Windows", "DirectStorage", ArchFolder);
|
|
|
|
PublicSystemIncludePaths.Add(IncludeFolder);
|
|
PublicAdditionalLibraries.Add(Path.Combine(LibFolder, "dstorage.lib"));
|
|
|
|
PublicDelayLoadDLLs.Add("dstorage.dll");
|
|
PublicDelayLoadDLLs.Add("dstoragecore.dll");
|
|
RuntimeDependencies.Add(Path.Combine(BinariesFolder, "dstoragecore.dll"));
|
|
RuntimeDependencies.Add(Path.Combine(BinariesFolder, "dstorage.dll"));
|
|
}
|
|
}
|
|
}
|