You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Modules that use #import (DatabaseSupport & VisualStudioSourceCodeAccessor) are forced to be built locally due to SN-DBS limitation . These are very small modules so have a minimal impact on build time. #codereview Mike.Fricker [CL 2610243 by Lee Clark in Main branch]
38 lines
917 B
C#
38 lines
917 B
C#
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
namespace UnrealBuildTool.Rules
|
|
{
|
|
public class VisualStudioSourceCodeAccess : ModuleRules
|
|
{
|
|
public VisualStudioSourceCodeAccess(TargetInfo Target)
|
|
{
|
|
PrivateDependencyModuleNames.AddRange(
|
|
new string[]
|
|
{
|
|
"Core",
|
|
"SourceCodeAccess",
|
|
"DesktopPlatform",
|
|
}
|
|
);
|
|
|
|
if (UEBuildConfiguration.bBuildEditor)
|
|
{
|
|
PrivateDependencyModuleNames.Add("HotReload");
|
|
}
|
|
|
|
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");
|
|
}
|
|
|
|
bBuildLocallyWithSNDBS = true;
|
|
}
|
|
}
|
|
} |