You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb none #rnx #ROBOMERGE-OWNER: lina.halper #ROBOMERGE-AUTHOR: ben.marsh #ROBOMERGE-SOURCE: CL 6631504 in //UE4/Main/... #ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v365-6733468) [CL 6748759 by ben marsh in Dev-Anim branch]
34 lines
1.4 KiB
Bash
Executable File
34 lines
1.4 KiB
Bash
Executable File
#!/bin/bash
|
|
# Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
echo
|
|
echo Setting up Unreal Engine 4 project files...
|
|
echo
|
|
|
|
# If ran from someone other then the script location we'll have the full base path
|
|
BASE_PATH="`dirname "$0"`"
|
|
|
|
# this is located inside an extra 'Linux' path unlike the Windows variant.
|
|
|
|
if [ ! -d "$BASE_PATH/../../../Binaries/DotNET" ]; then
|
|
echo GenerateProjectFiles ERROR: It looks like you're missing some files that are required in order to generate projects. Please check that you've downloaded and unpacked the engine source code, binaries, content and third-party dependencies before running this script.
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -d "$BASE_PATH/../../../Source" ]; then
|
|
echo GenerateProjectFiles ERROR: This script file does not appear to be located inside the Engine/Build/BatchFiles/Mac directory.
|
|
exit 1
|
|
fi
|
|
|
|
source "$BASE_PATH/SetupMono.sh" $BASE_PATH
|
|
|
|
# make sure the UBT project has references to auto-discovered platform extension source files
|
|
"${BASE_PATH}/../FindPlatformExtensionSources.sh"
|
|
|
|
if [ -f "$BASE_PATH/../../../Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj" ]; then
|
|
xbuild "$BASE_PATH/../../../Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj" /property:Configuration="Development" /verbosity:quiet /nologo
|
|
fi
|
|
|
|
# pass all parameters to UBT
|
|
mono "$BASE_PATH/../../../Binaries/DotNET/UnrealBuildTool.exe" -projectfiles "$@"
|