Files
UnrealEngineUWP/Engine/Build/BatchFiles/Linux/GenerateProjectFiles.sh
Dmitry Rekman 6659066dd5 Bump up Mono target to 4.5 due to IReadOnlyList usage.
#codereview Ben.Marsh

[CL 2685093 by Dmitry Rekman in Main branch]
2015-09-09 14:40:18 -04:00

30 lines
745 B
Bash
Executable File

#!/bin/bash
SCRIPT_DIR=$(cd "$(dirname "$BASH_SOURCE")" ; pwd)
set -e
TOP_DIR=$(cd $SCRIPT_DIR/../../.. ; pwd)
cd ${TOP_DIR}
if [ ! -e Build/OneTimeSetupPerformed ]; then
echo
echo "******************************************************"
echo "You have not run Setup.sh, the build will likely fail."
echo "******************************************************"
fi
echo
echo Setting up Unreal Engine 4 project files...
echo
set -x
xbuild Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj \
/verbosity:quiet /nologo \
/p:TargetFrameworkVersion=v4.5 \
/p:Configuration="Development"
# pass all parameters to UBT
mono Binaries/DotNET/UnrealBuildTool.exe -makefile -kdevelopfile -qmakefile -cmakefile -codelitefile "$@"
set +x