An open API service indexing awesome lists of open source software.

https://github.com/allar/ue4-server-target-builder

Tool to help automation of building dedicated servers for blueprint only targets
https://github.com/allar/ue4-server-target-builder

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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.

```cs
// 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
)
{
}
}
```