Files
UnrealEngineUWP/Engine/Build/BatchFiles/Linux/Build.sh
Ben Marsh 530369c613 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4662695 by Ben Marsh in Dev-Build branch]
2018-12-14 14:49:12 -05:00

21 lines
686 B
Bash
Executable File

#!/bin/bash
# Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
# This script gets can be used to build clean individual projects using UnrealBuildTool
set -e
cd "`dirname "$0"`/../../../.."
# Setup Mono
source Engine/Build/BatchFiles/Linux/SetupMono.sh Engine/Build/BatchFiles/Linux
# First make sure that the UnrealBuildTool is up-to-date
if ! xbuild /property:Configuration=Development /property:TargetFrameworkVersion=v4.5 /verbosity:quiet /nologo Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj; then
echo "Failed to build to build tool (UnrealBuildTool)"
exit 1
fi
echo "Building $1..."
mono Engine/Binaries/DotNET/UnrealBuildTool.exe "$@"
exit $?