Files
UnrealEngineUWP/GenerateProjectFiles.sh
Matthew Griffin bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00

30 lines
715 B
Bash
Executable File

#!/bin/sh
# Copyright 1998-2016 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 UE4 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 ./GenerateProjectFiles.sh $@
fi