I am working on open sourcing a project on Github so it is accessible to external developers and 3rd party partners.
Our code has many external dependencies, some only support Bazel, some only support Cmake, some only support GN. I was able to build the code with Bazel by using rules_foreign_cc to build cmake dependencies from source.
Since it is highly likely our 3rd party partners which are interested in integrating only support cmake, my question is: Is there an well-established way for a top-level project in cmake to build sources that use Bazel (kind of like rules_foreign_cc in reverse)?
I would think someone must have tried doing this and any insight and experience sharing will be greatly appreciated.