Files
UnrealEngineUWP/Engine/Build/BatchFiles/Linux/Build.sh
Juan Canada 2ecf4f9708 Merging //UE4/Dev-Main@10877709 to Dev-RenderPlat-Staging(//UE4/Dev-Rendering)
#rnx
#rb none

[CL 10895568 by Juan Canada in Dev-RenderPlat-Staging branch]
2020-01-07 13:45:01 -05:00

21 lines
638 B
Bash
Executable File

#!/bin/bash
# Copyright 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 /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 $?