UnrealBuildTool - How can I disable UBT combining my c++ files into module.moduleName.cpp files?

When there are more then a few files in a module, UBT has an “optimization” where it’ll combine the files into module.modulename.#.cpp files. It appears from the UBT source that this can be disabled, but I’m not sure how it works. Can anyone tell me how to disable this for one module?

Hi,

Try putting ‘bFasterWithoutUnity = true;’ in your MyModule.Build.cs build rules file.

Steve

Thanks, I’ll give it a try.