Build

uetools.commands.ubt.build.replace_variables(command, variables)[source]

Replace variables in a command

class uetools.commands.ubt.build.Build[source]

Execute UnrealBuildTool for a specified target

Examples

# Builds the Editor for the `RTSGame` project
# Only run the build editor target
uecli build RTSGameEditor

# Runs all the command UAT would execute to compile the project (i.e compiles ShaderCompileWorker and others)
uecli build RTSGame --profile update-project

Notes

While this works (as of 2022-08-21), you should probably rely epics generated commands instead. This was done as an exercice to learn about Unreal internals and might not get updated too often.

name: str = 'build'
class Arguments[source]

Arguments(target: str, platform: str = ‘Linux’, mode: str = ‘Development’, profile: Optional[str] = None)

target: str
platform: str = 'Linux'
mode: str = 'Development'
profile: str | None = None
static execute_profile(args)[source]

Execute a command profile

static execute(args)[source]

Execute the UAT build tool on the target

uetools.commands.ubt.build.COMMANDS

alias of Build