Tipsclangdclangd set(CMAKE_EXPORT_COMPILE_COMMANDS 1) clangd と連携させるために compile_commands.json を出力する関連。 clangd 設定 #C++ - Qiita