2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-04-23 19:19:51 -04:00
|
|
|
|
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
|
|
|
{
|
|
|
|
|
public class VisualStudioSourceCodeAccess : ModuleRules
|
|
|
|
|
{
|
|
|
|
|
public VisualStudioSourceCodeAccess(TargetInfo Target)
|
|
|
|
|
{
|
|
|
|
|
PrivateDependencyModuleNames.AddRange(
|
|
|
|
|
new string[]
|
|
|
|
|
{
|
|
|
|
|
"Core",
|
2014-08-29 15:31:27 -04:00
|
|
|
"SourceCodeAccess",
|
2014-09-05 12:46:22 -04:00
|
|
|
"DesktopPlatform",
|
2014-04-23 19:19:51 -04:00
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|
2014-09-10 06:43:48 -04:00
|
|
|
if (UEBuildConfiguration.bBuildEditor)
|
|
|
|
|
{
|
|
|
|
|
PrivateDependencyModuleNames.Add("HotReload");
|
|
|
|
|
}
|
|
|
|
|
|
2014-04-23 19:19:51 -04:00
|
|
|
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");
|
|
|
|
|
}
|
2015-07-03 05:23:01 -04:00
|
|
|
|
|
|
|
|
bBuildLocallyWithSNDBS = true;
|
2014-04-23 19:19:51 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|