Bat files to compile your Unreal Engine 4 C++ project I found in this video by Alex Forsythe
Go watch this video, it's amazing and subscribe to his chanel, it's really good
- Put those
Build.bat
,Editor.bat
andVars.bat
in your root project folder (where./YourProjectName/YourProjectName.uproject
). - In
Vars.bat
changeset PROJECT=YoutProjectName
to your project name andset UE4_DIR=RouteToYourUnrealEngine4
to the path to your Unreal Engine(example :O:\Programs\Unreal Engine\UE_4.26
)
- Open the terminal in this folder
- Use
Build
to compile your project. You need to have Unreal Engine Editor closed - Use
Editor
to open the editor
Big thanks to Alex Forsythe, you are amazing, dude!