I'm doing this for FB's internal build system, but it'd be pretty cool to build externally with buck as well. I know this is do-able since watchman does it currently.
This task is done, at least internally to FB. Since I suspect OSS users are happy with cmake/ninja, I'm going to go ahead and close this out. If any external users want Buck support please re-open and I'll be happy to port the internal stuff.
Most helpful comment
I'm doing this for FB's internal build system, but it'd be pretty cool to build externally with buck as well. I know this is do-able since watchman does it currently.