When using mrb, there is a bootstrap problem that can be resolved by adding products to the top level CMakeLists.txt file in strict dependency order. Each product has cmake config files which are generated when cmake is run. But those files cannot be found until cmake has been run on the product. Installation is not necessary, we can find working cmake config files in the build directory.
The idea is to generate a dependency tree by processing the product_deps files and use that to order the add_subdirectory calls in the top level CMakeLists.txt file built by mrb.