You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #jira UE-146805 #rb Brandon.Schaefer #fyi Ryan.Hummer #preflight skip [CL 19476047 by Michael Sartain in ue5-main branch]
32 lines
799 B
Bash
Executable File
32 lines
799 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 .uedependencies ] && [ ! -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 ./GenerateLLDBInit.sh
|
|
bash ./GenerateGDBInit.sh
|
|
bash ./GenerateProjectFiles.sh "$@"
|
|
fi
|