Closed samhocevar closed 7 years ago
Hi there!
Sorry for the delay :)
We originally had the commandline include the -wrapper argument however we decided to remove it since FBuild.exe would sometimes take a very long time to wait for the currently compiling files to finish before closing and writing up the fdb file. The idea is since we don't use the fdb for the dependency check (done by UnrealBuildTool) + we are likely to regenerate the bff everytime anyways (which causes the fdb to be discarded) it's not useful to cleanly close it, it was better to just kill the current fbuild instance and have a fast way to cancel the build!
Did you see anything specific problems with the current configuration ?
Yes; our main problem was stale cl.exe
processes continuing to run when a build was aborted. On automated build machines, this sometimes caused the next build to fail because of files being opened by another process.
I think having consistent builds wins over occasional slowness cancelling builds, so I put the -ide flag back in. :)
This flag causes FBuild.exe to be called using a wrapper executable. This will allow it to exit more cleanly when a build is stopped from within the Visual Studio IDE.