Skip to content

Tool to help automation of building dedicated servers for blueprint only targets

License

Notifications You must be signed in to change notification settings

Allar/ue4-server-target-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ue4-server-target-builder

This is an overengineered Node app that lets me generate a server target so that I can use it in automated systems such as Jenkins to build server builds of Blueprint only projects without requiring C++.

Installation

npm install Allar/ue4-server-target-builder -g

Usage

ue4-server-target-builder -p GenericShooter -d c:/depot/GenericShooter

Supply -c argument in order to return with error code 1 if project is detected as blueprint only project. Useful if you need to know this in your automation chain.

Example Output

This creates a target file that should look like this.

// Insert Your Copyright Here

using UnrealBuildTool;
using System.Collections.Generic;

public class GenericShooterServerTarget : TargetRules
{
	public GenericShooterServerTarget(TargetInfo Target) : base(Target)
	{
		Type = TargetType.Server;

		ExtraModuleNames.Add("UE4Game"); // This would be your project module if not BP only
	}

	//
	// TargetRules interface.
	//

	public override void SetupGlobalEnvironment(
		TargetInfo Target,
		ref LinkEnvironmentConfiguration OutLinkEnvironmentConfiguration,
		ref CPPEnvironmentConfiguration OutCPPEnvironmentConfiguration
		)
	{
	}
}

About

Tool to help automation of building dedicated servers for blueprint only targets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published