Files
UnrealEngineUWP/GenerateProjectFiles.sh
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00

31 lines
746 B
Bash
Executable File

#!/bin/sh
# Copyright 1998-2019 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 ./GenerateGDBInit.sh
bash ./GenerateProjectFiles.sh "$@"
fi