2014-04-02 18:09:23 -04:00
|
|
|
#!/bin/sh
|
2016-12-08 08:52:44 -05:00
|
|
|
# Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
|
2014-04-02 18:09:23 -04:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2015-03-23 11:05:01 -04:00
|
|
|
if [ -f Setup.sh ]; then
|
|
|
|
|
if [ ! -f .ue4dependencies ]; then
|
|
|
|
|
echo "Please run Setup to download dependencies before generating project files."
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
2014-05-09 22:30:05 -04:00
|
|
|
if [ "$(uname)" = "Darwin" ]; then
|
2014-04-02 18:09:23 -04:00
|
|
|
cd Engine/Build/BatchFiles/Mac
|
|
|
|
|
sh ./GenerateLLDBInit.sh
|
|
|
|
|
sh ./GenerateProjectFiles.sh $@
|
|
|
|
|
else
|
2014-07-30 16:36:51 -04:00
|
|
|
# assume (GNU/)Linux
|
2014-04-02 18:09:23 -04:00
|
|
|
cd Engine/Build/BatchFiles/Linux
|
2014-07-30 16:36:51 -04:00
|
|
|
bash ./GenerateProjectFiles.sh $@
|
2014-04-02 18:09:23 -04:00
|
|
|
fi
|