Tool to help automation of building dedicated servers for blueprint only targets
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
Target.cs.template
index.js
package.json

README.md

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
		)
	{
	}
}