- This change greatly improves compile times for game plugin modules
- Game modules never depend on the game itself, so there was no reason not to use shared PCHs by default
[CL 2649311 by Mike Fricker in Main branch]
- Fixed small game-specific plugins always using non-unity and getting a unique PCH
- You can now override the default behavior of UBT which compiles small game modules for "fast iteration"
- Many small game modules have a low frequency of iteration, and never need a unique PCH or non-unity enabled
- You can use the following module-specific variables to override the default behavior:
MinSourceFilesForUnityBuildOverride = 1;
MinFilesUsingPrecompiledHeaderOverride = BuildConfiguration.MinFilesUsingPrecompiledHeader;
[CL 2648185 by Mike Fricker in Main branch]
Explicit serialization functions used instead of reflection, to avoid deserialization problems on Mono.
Version number added to makefiles to allow versioning in future.
Makefiles still disabled if the host platform differs from the built platform, to continue to avoid any problems 'when building with RPCUtility'.
#codereview robert.manuszewski,michael.trepka
[CL 2643502 by Steve Robb in Main branch]
GetModuleFilename returns an empty string if module can't be found, checking for null meant that it went ahead and tried to load it regardless.
[CL 2627121 by Matthew Griffin in Main branch]
Fixes for lots of existing modules by removing all dynamically loaded duplicates (this is probably not the correct solution, but is the safest).
#codereview robert.manuszewski
[CL 2610845 by Steve Robb in Main branch]
* Modules that use #import (DatabaseSupport & VisualStudioSourceCodeAccessor) are forced to be built locally due to SN-DBS limitation . These are very small modules so have a minimal impact on build time.
#codereview Mike.Fricker
[CL 2610243 by Lee Clark in Main branch]
UEBuildModule stores its .Module.cs filename.
UEBuildTarget stores a map of dictionaries from module names to .Target.cs files.
Timestamps of serialized .Target.cs and .Module.cs files compared against makefile and used for invalidation.
More sensible Dictionary logic in ConditionallyCompileAndLoadRulesAssembly.
InstantiateModule can no longer return a null.
UEBuildModule constructors no longer default.
#codereview robert.manuszewski
[CL 2543446 by Steve Robb in Main branch]