LuckyWorld/Source/LuckyWorld.Target.cs

33 lines
932 B
C#
Raw Normal View History

2025-03-18 19:25:25 +01:00
// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
2025-04-10 07:17:18 -05:00
public class LuckyWorldTarget : TargetRules
2025-03-18 19:25:25 +01:00
{
2025-04-10 07:17:18 -05:00
public LuckyWorldTarget(TargetInfo Target) : base(Target)
2025-03-18 19:25:25 +01:00
{
Type = TargetType.Game;
DefaultBuildSettings = BuildSettingsVersion.V5;
bOverrideBuildEnvironment = true;
2025-03-18 19:25:25 +01:00
2025-04-10 07:17:18 -05:00
ExtraModuleNames.AddRange( new string[] { "LuckyWorld" } );
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
2025-03-18 19:25:25 +01:00
if (Target.Configuration == UnrealTargetConfiguration.Test)
{
this.bUseLoggingInShipping = true;
}
// macOS specific settings
if (Target.Platform == UnrealTargetPlatform.Mac)
{
// Force use the bundle ID from DefaultGame.ini
GlobalDefinitions.Add("APP_BUNDLE_IDENTIFIER=com.luckyrobots.luckyworld");
GlobalDefinitions.Add("APP_BUNDLE_NAME=LuckyWorld");
GlobalDefinitions.Add("APP_BUNDLE_DISPLAY_NAME=LuckyWorld");
}
2025-03-18 19:25:25 +01:00
}
}