Files
UnrealEngineUWP/GenerateProjectFiles.sh
will damon 174a270e0e [UBT][Mac] Fix support for uproject pathnames containing spaces.
- Also, fixup Link phase to use `env' to avoid quotation discrepancies between .NET and shell environments.

#rb josh.adams
[FYI] brandon.schaefer
#jira UE-106289
#rnx

#ROBOMERGE-OWNER: will.damon
#ROBOMERGE-AUTHOR: will.damon
#ROBOMERGE-SOURCE: CL 15836091 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v785-15821902)
#ROBOMERGE-CONFLICT from-shelf

[CL 15836217 by will damon in ue5-main branch]
2021-03-25 19:55:52 -04:00

31 lines
746 B
Bash
Executable File

#!/bin/sh
# Copyright Epic Games, Inc. All Rights Reserved.
set -e
cd "`dirname "$0"`"
if [ ! -f Engine/Build/BatchFiles/Mac/GenerateProjectFiles.sh ]; then
echo "GenerateProjectFiles ERROR: This script does not appear to be located \
in the root Unreal Engine directory and must be run from there."
exit 1
fi
if [ -f Setup.sh ]; then
if [ ! -f .ue4dependencies ]; then
echo "Please run Setup to download dependencies before generating project files."
exit 1
fi
fi
if [ "$(uname)" = "Darwin" ]; then
cd Engine/Build/BatchFiles/Mac
sh ./GenerateLLDBInit.sh
sh ./GenerateProjectFiles.sh "$@"
else
# assume (GNU/)Linux
cd Engine/Build/BatchFiles/Linux
bash ./GenerateGDBInit.sh
bash ./GenerateProjectFiles.sh "$@"
fi