You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
279156f276
* Expose Unreal Trace Server launching facilities in FTraceServerControl interface. Only enabled on platforms that can actually launch UTS. * Renamed WITH_UNREAL_TRACE_LAUNCH to UE_TRACE_SERVER_LAUNCH_ENABLED * Always start UnrealTraceServer with sponsor argument. #rb ionut.matasaru [CL 30346679 by johan berg in ue5-main branch]
45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.Collections.Generic;
|
|
using EpicGames.Core;
|
|
|
|
[SupportedPlatforms("Win64", "Linux", "Mac")]
|
|
public class UnrealInsightsTarget : TargetRules
|
|
{
|
|
[CommandLine("-Monolithic")]
|
|
public bool bMonolithic = false;
|
|
|
|
public UnrealInsightsTarget(TargetInfo Target) : base(Target)
|
|
{
|
|
Type = TargetType.Program;
|
|
LinkType = bMonolithic ? TargetLinkType.Monolithic : TargetLinkType.Modular;
|
|
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
|
|
|
|
LaunchModuleName = "UnrealInsights";
|
|
if (bBuildEditor)
|
|
{
|
|
ExtraModuleNames.Add("EditorStyle");
|
|
}
|
|
bCompileAgainstEngine = false;
|
|
bCompileAgainstCoreUObject = true;
|
|
bForceBuildTargetPlatforms = true;
|
|
bCompileWithStatsWithoutEngine = true;
|
|
bCompileWithPluginSupport = true;
|
|
|
|
// For source code editor access & regex (crossplatform)
|
|
bIncludePluginsForTargetPlatforms = true;
|
|
bCompileICU = true;
|
|
|
|
// For UI functionality
|
|
bBuildDeveloperTools = true;
|
|
|
|
bHasExports = false;
|
|
|
|
// Enable server controls
|
|
GlobalDefinitions.Add("UE_TRACE_SERVER_CONTROLS_ENABLED=1");
|
|
// Have UnrealInsights implicitly launch the trace store.
|
|
GlobalDefinitions.Add("UE_TRACE_SERVER_LAUNCH_ENABLED=1");
|
|
}
|
|
}
|