Add direct Windows editor build script

This commit is contained in:
2026-05-11 00:43:05 -07:00
parent 4615d663ec
commit a8f722d980
+19
View File
@@ -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%