Refresh UE C++ Solution
Rebuilds the unreal solution to reflect changes to source files within the solution. This should be run from the root of the project folder. The commented #pushd line is because I keep things like this in a /scripts folder inside the project for organization so I uncomment this to step back one directory.
@echo off
#pushd ..\
for %%i in (*.uproject) do set UProjectAbsolutePath=%cd%\%%i
popd
set EnginePath=C:\Program Files\Epic Games\UE_5.7\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe
echo UProjectAbsolutePath is: %UProjectAbsolutePath%
echo EnginePath is: %EnginePath%
"%EnginePath%" -projectfiles -project="%UProjectAbsolutePath%" -game -rocket -progress
pause
