Files
UnrealEngineUWP/Engine/Source/Programs/DerivedDataTool/DerivedDataTool.Target.cs
devin doucette 90200ff6d0 DDC: Fixes related to the use of OIDC functionality from DesktopPlatform
- Fixed a crash when HttpCacheStore is used without DesktopPlatform.
- Fixed GetOidcAccessToken and GetOidcTokenStatus failing for targets with no Intermediate directory.
- Added DesktopPlatform to DerivedDataTool to allow it to use HttpCacheStore with OIDC.

#rb Zousar.Shaker
[FYI] Dan.Engelbrecht

[CL 25072527 by devin doucette in ue5-main branch]
2023-04-17 15:23:51 -04:00

33 lines
996 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
[SupportedPlatforms(UnrealPlatformClass.Desktop)]
public class DerivedDataToolTarget : TargetRules
{
public DerivedDataToolTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program;
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
LinkType = TargetLinkType.Monolithic;
LaunchModuleName = "DerivedDataTool";
bBuildDeveloperTools = false;
bCompileAgainstApplicationCore = true;
bCompileAgainstCoreUObject = false;
bCompileAgainstEngine = false;
bCompileICU = false;
bForceDisableAutomationTests = true;
bIsBuildingConsoleApplication = true;
bUseLoggingInShipping = true;
if (Target.Configuration == UnrealTargetConfiguration.Debug ||
Target.Configuration == UnrealTargetConfiguration.Development)
{
GlobalDefinitions.Add("LLM_ENABLED_IN_CONFIG=1");
GlobalDefinitions.Add("UE_MEMORY_TAGS_TRACE_ENABLED=1");
GlobalDefinitions.Add("UE_TRACE_ENABLED=1");
}
}
}