Multi project build with multiple root projects

Hi,

We are trying to migrate a set of projects that create two root deliverables:

cluster/

  • node/
  • master/
  • protocols/
  • rules/
  • stuff/

Root projects are node and master and they both depend on some or all other sub-projects.
What is the right strategy for this build.

Thanks
Greg