Files
UnrealEngineUWP/Engine/Plugins/Developer/VisualStudioSourceCodeAccess/Source/VisualStudioSourceCodeAccess/VisualStudioSourceCodeAccess.Build.cs
Lee Clark d8c6aca65d SN-DBS support for distributed compilation of Win64 builds
* 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]
2015-07-03 05:23:01 -04:00

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;
}
}
}