Hi guys, here’s some useful information for those who care about download size and/or disk space taken by the engine dependencies.
By default, Setup.bat always downloads files for your current platform: Win32 and Win64 if you are on Windows and Mac if you are on Mac. But you will also get dependency files for iOS and Linux even if you won’t need them. It also downloads HLML5 dependencies if you have Emscripten installed and Android dependencies if you have NDK.
This is quite clever but what if you want to decide which files to download? You can use two command-line options: -exclude and -include.
Use -exclude to specify platforms you are not going to use. For example, if you don’t want Linux and iOS dependencies run this:
Setup.bat -exclude=Linux -exclude=IOS
Use -include to specify what you want to download. For example, you don’t have NDK and Emscripten installed (yet) but want to get Android and HTML5 files anyway:
Setup.bat -include=HTML5 -include=Android
Here is the list of platforms to use with these two options: Win32, Win64, Mac, Linux, Android, IOS, HTML5.
Useful, isn’t it? But this is not all! By default, when you are on Windows the script downloads library files for both VS2012 and VS2013, what if you are only going to use one version and won’t need files for the other? Just add an -exclude option:
In fact, this option simply works as a filter that will filter out all the files that contain specified folder in their paths, since all version-dependent Visual Studio libraries are located in folders “VS2012” and “VS2013” they will be filtered out by this option! This can greatly reduce your disk space usage!
Well, just wanted to share this for those who didn’t figure that out yet.
Hope this information is useful!
Thanks for reading!
P.S. Thanks for the sources of the GitDependencies program, Epic! This is how I learned all this stuff!