How can I use clangd in a workspace setup that consists of multiple cmake projects which compile into a common build location?
My workspace consists of several projects, with a structure roughly like this:
The build output then happens somewhere else, and a separate compile_commands.json is produced for each cmake project:
How can I get clangd to use all the compile_commands.json files? Do I have to link them separately to the root of each project?