Changing BuildConfiguration(.xml) in 4.16
I'm trying to change the build configuration settings for our UE4 C++ Project in 4.16. Problem is that for my 4.16 install I have no default BuildConfiguration.xml (only one in /Saved/ which is pretty much empty) while 4.15 has one in \UnrealEngine\Engine\Programs\UnrealBuildTool as suggested in the first url below.
I've been using these as reference:
Trying to add the custom rules via BuildConfiguration.bUseIncrementalLinking = true; for example doesn't compile. And adding my own BuildConfiguration.xml in /Saved/ of the engine folder as suggested doesn't work either.
Has anyone used custom .xml or custom build.cs for 4.16? I'd love to try some of the custom build options to see if we can improve compile times.
Generally you should only need to modify things in the Build.cs file if you need them on a per-project or per-module basis. Otherwise use the following locations of BuildConfiguration.xml:
Engine/Saved/UnrealBuildTool - For a specific engine version.
Documents/Unreal Engine/UnrealBuildTool - For all installed engine versions.
I just have the following at the latter location, for example:
The fact they seem to have removed the default one in 4.16 shouldn't matter, the defaults are still no doubt defined somewhere, so you can just add to the empty shell in Engine/Saved/UnrealBuildTool, or add a similar one in the documents folder if you want it to persist for future engine installs. Anything not specified will just be inherited.
The absolute new location of:
in 4.17 is at:
C:\Program Files\Epic Games\UE_4.17\Engine\Saved\UnrealBuildTool
Well atleast on my pc :p
Follow this question
Once you sign in you will be able to subscribe for any updates here