UE5_StaticMesh_Gen_Build_MD.../D.bat

18 lines
530 B
Batchfile
Raw Normal View History

2021-06-30 17:11:29 +08:00
@echo off
set "lj=%~p0"
set "lj=%lj:\= %"
for %%a in (%lj%) do set wjj=%%a
rem 编译DebugGame的版本,跳过烘焙,打包pak
set BuildConfig=DebugGame
set UprojectPath="%~dp0%wjj%.uproject"
set DebugPath="%~dp0Build\%BuildConfig%"
D:\UnrealEngine-5.0.0-early-access-2\Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -project=%UprojectPath%^
-nocompileeditor^
-noP4 -platform=Win64^
-clientconfig=%BuildConfig%^
-build -utf8output -compile -ForceDebugInfo^
-SkipCook^
-pak -stage -archive -archivedirectory="%DebugPath%"