Last active
July 11, 2024 12:20
-
-
Save zhaojunmeng/d53e34ad807522bf0079f8fbe8e2b7ea to your computer and use it in GitHub Desktop.
Call Setup.bat in Unreal Engine Source, add multithread, local download cache and exclude list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@REM You can use --dry-run to just print what will be downloaded. | |
@REM You can use --cache to specify a custom path for the download cache. | |
@REM call Setup.bat --dry-run --threads=%NUMBER_OF_PROCESSORS% --cache=C:\Code\Cache\ue-gitdeps ^ | |
call Setup.bat --threads=%NUMBER_OF_PROCESSORS% --cache=C:\Code\Cache\ue-gitdeps ^ | |
--exclude=HoloLens ^ | |
--exclude=Linux ^ | |
--exclude=linux-64 ^ | |
--exclude=linux32 ^ | |
--exclude=linux64 ^ | |
--exclude=Linux64-Release ^ | |
--exclude=LinuxArm64 ^ | |
--exclude=Mac ^ | |
--exclude=mac-64 ^ | |
--exclude=mac-arm64 ^ | |
--exclude=Mac64-Release ^ | |
--exclude=macOS ^ | |
--exclude=macosx ^ | |
--exclude=osx ^ | |
--exclude=OSX ^ | |
--exclude=osx-x64 ^ | |
--exclude=osx32 ^ | |
--exclude=osx64 ^ | |
--exclude=Samples ^ | |
--exclude=Templates ^ | |
--exclude=TVOS ^ | |
--exclude=Unix ^ | |
--exclude=WinRT >Setup_Slim.log | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If IOS is excluded, cook will failed due to "Could not find a part of the path 'Engine\Source\Programs\AutomationTool\IOS\Resources\GreenCheck.png'. (Engine\Source\Programs\AutomationTool\IOS\IOS.Automation.csproj)", in version 5.2