enhance support for clangd tooling
-
add an option 'compile-commands-export' (default on) => will set -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON for cmake to generate the compilation database as needed for the LSP tooling of many editors
-
add an option 'compile-commands-linking' (default off) => links the generated compilation database back to the source directory, required by a lot of clangd based tooling, too