Add direct Windows editor build script
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
@echo off
|
||||||
|
setlocal
|
||||||
|
|
||||||
|
set "PROJECT_DIR=%~dp0.."
|
||||||
|
set "PROJECT_FILE=%PROJECT_DIR%\AgrarianGame.uproject"
|
||||||
|
set "UE_ROOT=C:\Program Files\Epic Games\UE_5.7"
|
||||||
|
set "BUILD_BAT=%UE_ROOT%\Engine\Build\BatchFiles\Build.bat"
|
||||||
|
|
||||||
|
if not exist "%BUILD_BAT%" (
|
||||||
|
echo Unreal Engine 5.7 was not found at:
|
||||||
|
echo %UE_ROOT%
|
||||||
|
echo.
|
||||||
|
echo Edit UE_ROOT in this script if your engine is installed somewhere else.
|
||||||
|
exit /b 1
|
||||||
|
)
|
||||||
|
|
||||||
|
echo Building AgrarianGameEditor with UnrealBuildTool...
|
||||||
|
call "%BUILD_BAT%" AgrarianGameEditor Win64 Development -Project="%PROJECT_FILE%" -WaitMutex -architecture=x64
|
||||||
|
exit /b %ERRORLEVEL%
|
||||||
Reference in New Issue
Block a user