You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-76514 #rb mihnea.balta, kenzo.tereslt [CL 15937346 by christopher waters in ue5-main branch]
26 lines
1014 B
C#
26 lines
1014 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.IO;
|
|
|
|
public class WinPixEventRuntime : ModuleRules
|
|
{
|
|
public WinPixEventRuntime(ReadOnlyTargetRules Target) : base(Target)
|
|
{
|
|
Type = ModuleType.External;
|
|
|
|
if (Target.WindowsPlatform.Architecture == WindowsArchitecture.ARM64 || Target.WindowsPlatform.Architecture == WindowsArchitecture.x64)
|
|
{
|
|
string WinPixDir = Path.Combine(Target.UEThirdPartySourceDirectory, "Windows/PIX");
|
|
|
|
PublicSystemIncludePaths.Add(Path.Combine( WinPixDir, "include") );
|
|
|
|
PublicDefinitions.Add("WITH_PIX_EVENT_RUNTIME=1");
|
|
PublicDelayLoadDLLs.Add("WinPixEventRuntime.dll");
|
|
PublicAdditionalLibraries.Add( Path.Combine( WinPixDir, "Lib/" + Target.WindowsPlatform.Architecture.ToString() + "/WinPixEventRuntime.lib") );
|
|
RuntimeDependencies.Add("$(EngineDir)/Binaries/ThirdParty/Windows/WinPixEventRuntime/" + Target.WindowsPlatform.Architecture.ToString() + "/WinPixEventRuntime.dll");
|
|
}
|
|
}
|
|
}
|
|
|