LuckyWorld/Source/LuckyWorld.Target.cs
Ozgur Ersoy 4a71488bea
Some checks failed
Test macOS Build Action / test-macos-build (push) Failing after 13m57s
fix(actions): update macOS build workflow to disable automatic code signing and skip signing executables
2025-04-15 21:05:51 +02:00

36 lines
1013 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;
bOverrideBuildEnvironment = true;
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");
GlobalDefinitions.Add("APP_BUNDLE_NAME=LuckyWorld");
GlobalDefinitions.Add("APP_BUNDLE_DISPLAY_NAME=LuckyWorld");
// Disable automatic code signing
bDisableAutomaticCodeSigning = true;
}
}
}