-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathTestProgram.Target.cs
More file actions
32 lines (24 loc) · 964 Bytes
/
TestProgram.Target.cs
File metadata and controls
32 lines (24 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
[SupportedPlatforms(UnrealPlatformClass.Desktop)]
public class TestProgramTarget : TargetRules
{
public TestProgramTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Program; // This setting is what makes it work as a program!
LinkType = TargetLinkType.Monolithic;
LaunchModuleName = "TestProgram";
ExtraModuleNames.Add("EditorStyle");
bBuildDeveloperTools = false;
// TestProgram doesn't ever compile with the engine linked in
bCompileAgainstEngine = false;
// We need CoreUObject compiled in as the source code access module requires it
bCompileAgainstCoreUObject = true;
// TestProgram.exe has no exports, so no need to verify that a .lib and .exp file was emitted by
// the linker.
bHasExports = false;
// Make sure to get all code in SlateEditorStyle compiled in
bBuildDeveloperTools = true;
}
}