Skip to content

Instantly share code, notes, and snippets.

@iinfin
Last active March 2, 2023 09:40
Show Gist options
  • Save iinfin/9fae2cde756ee9b1f582643acc5014a1 to your computer and use it in GitHub Desktop.
Save iinfin/9fae2cde756ee9b1f582643acc5014a1 to your computer and use it in GitHub Desktop.

https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/

https://www.perforce.com/blog/vcs/git-beyond-basics-using-shallow-clones

git clone --branch 5.1 --single-branch --depth=1 https://github.com/EpicGames/UnrealEngine.git UnrealEngine

https://docs.unrealengine.com/5.0/en-US/using-an-installed-build-of-unreal-engine/#registeringaninstalledbuild

cd UnrealEngine
Setup.bat
GenerateProjectFiles.bat
Engine\Build\BatchFiles\RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -clean -set:WithWin64=true -set:WithLinux=false -set:WithServer=false -set:HostPlatformDDCOnly=false -set:WithWin32=false -set:WithMac=false -set:WithAndroid=false -set:WithIOS=false -set:WithTVOS=false -set:WithLinuxAArch64=false -set:WithPS4=false -set:WithXboxOne=false -set:WithSwitch=false -set:WithLumin=false -set:WithLuminMac=false -set:WithHoloLens=false
Engine\Build\BatchFiles\RunUAT.bat
BuildGraph -target="Make Installed Build Win64"
-script=Engine/Build/InstalledEngineBuild.xml -clean
-set:WithWin64=true
-set:WithLinux=false
-set:WithServer=false
-set:HostPlatformDDCOnly=false
-set:WithWin32=false
-set:WithMac=false
-set:WithAndroid=false
-set:WithIOS=false
-set:WithTVOS=false
-set:WithLinuxAArch64=false
-set:WithPS4=false
-set:WithXboxOne=false
-set:WithSwitch=false
-set:WithLumin=false
-set:WithLuminMac=false
-set:WithHoloLens=false

LocalBuilds\Engine\Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment