You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* If invoked from VS2022, use visual studio to build UnrealBuildTool to prevent unnecessary rebuilds * If invoked from VS2019 or on the command line without visual studio, use bundled dotnet to build * Deduplicate all logic into Build.bat, and have Clean.bat and Rebuild.bat call Build.bat with either -Clean or -Rebuild * Print entire dotnet version * Replace various calls to dotnet msbuild with dotnet build * Update old UE4 comments #jira UE-165754 #rb ? [CL 22387871 by joe kirchoff in ue5-main branch]
24 lines
658 B
Batchfile
Executable File
24 lines
658 B
Batchfile
Executable File
@echo off
|
|
|
|
rem ## Unreal Engine code rebuild script
|
|
rem ## Copyright Epic Games, Inc. All Rights Reserved.
|
|
rem ##
|
|
rem ## This script is expecting to exist in the Engine/Build/BatchFiles directory. It will not work correctly
|
|
rem ## if you copy it to a different location and run it.
|
|
rem ##
|
|
rem ## %1 is the game name
|
|
rem ## %2 is the platform name
|
|
rem ## %3 is the configuration name
|
|
rem ## additional args are passed directly to UnrealBuildTool
|
|
|
|
IF NOT EXIST "%~dp0\Build.bat" GOTO Error_MissingBuildBatchFile
|
|
|
|
call "%~dp0\Build.bat" %* -Rebuild
|
|
goto Exit
|
|
|
|
:Error_MissingBuildBatchFile
|
|
ECHO Build.bat not found in "%~dp0"
|
|
EXIT /B 999
|
|
|
|
:Exit
|