LuckyWorld/Source/LuckyWorld.Target.cs
Ozgur Ersoy c57938c995
Some checks failed
Test macOS Build Action / test-macos-build (push) Has been cancelled
fix(actions): add bundle ID verification and nested app bundle handling in macOS build workflow
2025-04-15 01:22:42 +02:00

30 lines
778 B
C#

// Fill out your copyright notice in the Description page of Project Settings.
using UnrealBuildTool;
using System.Collections.Generic;
public class LuckyWorldTarget : TargetRules
{
public LuckyWorldTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
DefaultBuildSettings = BuildSettingsVersion.V5;
ExtraModuleNames.AddRange( new string[] { "LuckyWorld" } );
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
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");
}
}
}