Some libraries, such as LLVM, use a "superproject" pattern, where consumers of the library, such as libcxx, should live inside of the libraries' folder-structure. In the case of LLVM, this is llvm/projects
.
This seems quite limiting, as it makes it harder use the library when there are other folder-structure constraints.
Why was this descision made, and what are some reasons to use such a layout?
Why was this descision made
) may be answered objectively. As for the second part -when should such a layout be used?
- answers to it could be very opinion-base (as any other design policy suggestion).