Files
UnrealEngineUWP/Engine/Build/BatchFiles/Linux/Build.sh
Dmitry Rekman 1731325f19 Improvements to building TPS on Linux.
Part of PR140 by sbc100.
- Retouched to make more compliant with our coding style.
- Made to work out of the box with both git and perforce repos.
- Commented out TPS which we need to patch first.

[CL 2069830 by Dmitry Rekman in Main branch]
2014-05-12 08:37:34 -04:00

18 lines
534 B
Bash
Executable File

#!/bin/sh
# This script gets can be used to build clean individual projects using UnrealBuildTool
set -e
cd "`dirname "$0"`/../../../.."
# First make sure that the UnrealBuildTool is up-to-date
if ! xbuild /property:Configuration=Development /property:TargetFrameworkVersion=v4.0 /verbosity:quiet /nologo Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool_Mono.csproj; then
echo "Failed to build to build tool (UnrealBuildTool)"
exit 1
fi
echo "Building $1..."
mono Engine/Binaries/DotNET/UnrealBuildTool.exe $*
exit $?