Files
UnrealEngineUWP/Engine/Build/BatchFiles/Linux/GenerateProjectFiles.sh
Dmitry Rekman 65d4f0940e Changes to build process.
- One time setup moved to Setup.sh, with GenerateProjectFiles.sh attempting to detect whether this was ever run previously.
- Checking git/perforce build differently, turned off updating deps.
- Updated smoke test appropriately.
- Closes UEPLAT-231.

#codereview Adric.Worley, Ben.Marsh

[CL 2360733 by Dmitry Rekman in Main branch]
2014-11-14 16:58:40 -05:00

56 lines
1.6 KiB
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_Mono.csproj \
/verbosity:quiet /nologo \
/p:TargetFrameworkVersion=v4.0 \
/p:Configuration="Development"
xbuild Source/Programs/AutomationTool/AutomationTool_Mono.csproj \
/verbosity:quiet /nologo \
/p:TargetFrameworkVersion=v4.0 \
/p:Platform="AnyCPU" \
/p:Configuration="Development"
xbuild Source/Programs/AutomationTool/Scripts/AutomationScripts.Automation.csproj \
/verbosity:quiet /nologo \
/p:TargetFrameworkVersion=v4.0 \
/p:Configuration="Development"
xbuild Source/Programs/AutomationTool/Linux/Linux.Automation.csproj \
/verbosity:quiet /nologo \
/p:TargetFrameworkVersion=v4.0 \
/p:Configuration="Development"
xbuild Source/Programs/AutomationTool/Android/Android.Automation.csproj \
/verbosity:quiet /nologo \
/p:TargetFrameworkVersion=v4.0 \
/p:Configuration="Development"
xbuild Source/Programs/AutomationTool/HTML5/HTML5.Automation.csproj \
/verbosity:quiet /nologo \
/p:TargetFrameworkVersion=v4.0 \
/p:Configuration="Development"
# pass all parameters to UBT
mono Binaries/DotNET/UnrealBuildTool.exe -makefile -qmakefile -cmakefile "$@"
set +x