How to stop UBT from using/searching for Incredibuild?

I’m trying to compare the compile times with and without Incredibuild, but I can’t seem to stop UBT from automatically using it, since it’s not triggered manually like one would when using Incredibuild in a non-UE4 project (i.e. a project that doesn’t automatically use IB).

Worse still, if I uninstall Incredibuild completely, UBT freaks out. How can I reset its state to before I installed IB? (i.e. stop it from looking for IB at all).

Thanks!

You should be able to control this using the BuildConfiguration.xml file (there should be several of these in your solution, you’ll probably want your user one found at %APPDATA%\Roaming\Unreal Engine\UnrealBuildTool):

<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
    <BuildConfiguration>
        <bAllowXGE>false</bAllowXGE>
    </BuildConfiguration>
</Configuration>

Not working for Package, Yet the Package is still calling IncrediBuild to build project.