Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/LiveCodingServer.Build.cs
Joe Graf ca9fb7b07b MERGE: Live coding is only available for Win32/Win64, dont try to include diasdk dir for other platforms
#jira none
#rb Ben.Marsh

[CL 5361151 by Joe Graf in Dev-VR branch]
2019-03-11 13:50:32 -04:00

33 lines
1.1 KiB
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.IO;
public class LiveCodingServer : ModuleRules
{
public LiveCodingServer(ReadOnlyTargetRules Target) : base(Target)
{
PrivateDependencyModuleNames.Add("Core");
PrivateDependencyModuleNames.Add("Distorm");
PrivateDependencyModuleNames.Add("LiveCoding");
if (Target.Platform == UnrealTargetPlatform.Win32 || Target.Platform == UnrealTargetPlatform.Win64)
{
PrivateIncludePaths.Add("Developer/Windows/LiveCoding/Private");
PrivateIncludePaths.Add("Developer/Windows/LiveCoding/Private/External");
string DiaSdkDir = Target.WindowsPlatform.DiaSdkDir;
if(DiaSdkDir == null)
{
throw new System.Exception("Unable to find DIA SDK directory");
}
PrivateIncludePaths.Add(Path.Combine(DiaSdkDir, "include"));
PublicAdditionalLibraries.Add(Path.Combine(DiaSdkDir, "lib", "amd64", "diaguids.lib"));
RuntimeDependencies.Add("$(TargetOutputDir)/msdia140.dll", Path.Combine(DiaSdkDir, "bin", "amd64", "msdia140.dll"));
}
PrecompileForTargets = PrecompileTargetsType.None;
}
}