You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
30 lines
753 B
C#
30 lines
753 B
C#
|
|
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
namespace UnrealBuildTool.Rules
|
||
|
|
{
|
||
|
|
public class VisualStudioSourceCodeAccess : ModuleRules
|
||
|
|
{
|
||
|
|
public VisualStudioSourceCodeAccess(TargetInfo Target)
|
||
|
|
{
|
||
|
|
PrivateDependencyModuleNames.AddRange(
|
||
|
|
new string[]
|
||
|
|
{
|
||
|
|
"Core",
|
||
|
|
"SourceCodeAccess"
|
||
|
|
}
|
||
|
|
);
|
||
|
|
|
||
|
|
if (WindowsPlatform.bHasVisualStudioDTE)
|
||
|
|
{
|
||
|
|
// This module requires atlbase.h to be included before Windows headers, so we can make use of shared PCHs. This
|
||
|
|
// module will always have its own private PCH generated, if necessary.
|
||
|
|
PCHUsage = PCHUsageMode.NoSharedPCHs;
|
||
|
|
Definitions.Add("VSACCESSOR_HAS_DTE=1");
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
Definitions.Add("VSACCESSOR_HAS_DTE=0");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|