You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb self #rnx #preflight 63c57ab02e714f64ade3bbab [CL 23730156 by Tim Smith in ue5-main branch]
38 lines
1.6 KiB
C#
38 lines
1.6 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
using System.Collections.Generic;
|
|
|
|
[SupportedPlatforms(UnrealPlatformClass.All)]
|
|
public class BlankProgramTarget : TargetRules
|
|
{
|
|
public BlankProgramTarget(TargetInfo Target) : base(Target)
|
|
{
|
|
Type = TargetType.Program;
|
|
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
|
|
LinkType = TargetLinkType.Monolithic;
|
|
LaunchModuleName = "BlankProgram";
|
|
|
|
// Lean and mean
|
|
bBuildDeveloperTools = false;
|
|
|
|
// Never use malloc profiling in Unreal Header Tool. We set this because often UHT is compiled right before the engine
|
|
// automatically by Unreal Build Tool, but if bUseMallocProfiler is defined, UHT can operate incorrectly.
|
|
bUseMallocProfiler = false;
|
|
|
|
// Editor-only is enabled for desktop platforms to run unit tests that depend on editor-only data
|
|
// It's disabled in test and shipping configs to make profiling similar to the game
|
|
bool bDebugOrDevelopment = Target.Configuration == UnrealTargetConfiguration.Debug || Target.Configuration == UnrealTargetConfiguration.Development;
|
|
bBuildWithEditorOnlyData = Target.Platform.IsInGroup(UnrealPlatformGroup.Desktop) && bDebugOrDevelopment;
|
|
|
|
// Currently this app is not linking against the engine, so we'll compile out references from Core to the rest of the engine
|
|
bCompileAgainstEngine = false;
|
|
bCompileAgainstCoreUObject = false;
|
|
bCompileAgainstApplicationCore = false;
|
|
bCompileICU = false;
|
|
|
|
// This app is a console application, not a Windows app (sets entry point to main(), instead of WinMain())
|
|
bIsBuildingConsoleApplication = true;
|
|
}
|
|
}
|