Quantcast
Channel: General - Epic Developer Community Forums
Viewing all articles
Browse latest Browse all 9965

Set Pre-processor definitions in build system

$
0
0

Hi,
I am packaging a game in the shipment mode and I noticed that my command line args are not being read because of UGameInstance::StartGameInstance()
I was trying to add UE_ALLOW_MAP_OVERRIDE_IN_SHIPPING to .Target.cs but it seems it does not work. I did the following:

public ProjectName(TargetInfo Target) : base(Target)
	{
		Type = TargetType.Game;

		ExtraModuleNames.AddRange( new string[] { "ProjectName" } );
		ProjectDefinitions.Add( "UE_ALLOW_MAP_OVERRIDE_IN_SHIPPING=1" );
	}

Am I missing something?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 9965

Trending Articles