mbox series

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

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

Message

Anakin Childerhose Aug. 2, 2025, 9:01 p.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.

Anakin Childerhose (2):
  cmake.bbclass: inherit compile_commands.bbclass
  meson.bbclass: inherit compile_commands.bbclass

 meta/classes-recipe/cmake.bbclass | 2 ++
 meta/classes-recipe/meson.bbclass | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)