Files
UnrealEngineUWP/GenerateProjectFiles.sh
will damon ed1641d05b Fixup GenerateProjectFiles
- Fixup whitespace typo in GenerateProjectFiles.sh (for top-level and Mac)

#rb trivial
#jira none
#rnx

[CL 15886052 by will damon in ue5-main branch]
2021-04-01 00:29:51 -04:00

31 lines
743 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