у меня примерно так:
# make an installed build
        args = ['BuildGraph',
                '-target=Make Installed Build %s' % self.get_host_platform_name(),
                '-script=./Engine/Build/InstalledEngineBuild.xml',
                '-set:CompileDatasmithPlugins=true',
                '-set:WithFullDebugInfo=true',
                '-set:WithClient=true',
                '-set:WithServer=true',
                '-set:VS2019=true',
                '-set:WithDDC=false',
                '-clean']
        args.extend(self.get_additional_platform_config())
def get_additional_platform_config(self):
        # disable linux cross-compiling on windows, hololens and lumin
        if Config.platform == Platform.Windows:
            return ['-set:WithLinux=false', 
                    '-set:WithLinuxAArch64=false', 
                    '-set:WithLumin=false', 
                    '-set:WithWin32=false', 
                    '-set:WithHoloLens=false']
        return []