monolithic

Single or multiple bazel WORKSPACE should be used for monolithic repo?

好久不见. 提交于 2021-02-08 11:17:17
问题 We put all products and libraries in one monolithic git repository. Its layout looks like this: - FooProduct - BarProduct - BazLibrary - 3rd_party |- fftw |- msgpack |- zlib At current, we are using CMake to control the build. As CMake has separated config, generate and build phase, it would take extremely long time to run if you generate all things together. To avoid this, we give top-level CMakeLists.txt for each part, and referring peer projects by up-level add_subirectory calls. For