mbox series

[0/3] Automatically add compile_commands.json to ${S}

Message ID 20250803010422.21838-2-anakin@childerhose.ca
Headers show
Series Automatically add compile_commands.json to ${S} | expand

Message

Anakin Childerhose Aug. 3, 2025, 1:04 a.m. UTC
To better take advantage of Meson and Cmake's automatic generation of a
compile_commands.json file for the clangd language server, link the
${B}/compile_commands.json to ${S}/compile_commands.json.

I accidentally missed the initial commit which provided the
compile_commands.bbclass. This corrects the previous submission.

Anakin Childerhose (3):
  clangd: add compile_commands.bbclass
  cmake.bbclass: inherit compile_commands.bbclass
  meson.bbclass: inherit compile_commands.bbclass

 meta/classes-recipe/cmake.bbclass            |  2 ++
 meta/classes-recipe/compile_commands.bbclass | 18 ++++++++++++++++++
 meta/classes-recipe/meson.bbclass            |  2 +-
 3 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 meta/classes-recipe/compile_commands.bbclass

--
2.50.1