]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
devtool: ide: define compilerPath for meson projects
authorEnguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Thu, 22 Feb 2024 10:29:55 +0000 (11:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Feb 2024 14:29:00 +0000 (14:29 +0000)
commitd9f5c27c8beee07c7cbbed11f5d45058e7315846
tree04f42b65d34a1814b0fc4b8179afe15f71a8091b
parent3083c9cc3c117b6284fee6926da2200cef509e6f
devtool: ide: define compilerPath for meson projects

The compile_commands.json file output by meson uses the compiler as if
present in the $PATH. However, when using an IDE, the $PATH used by
bitbake is not there.

The vscode-cpptools now allows to define the compilerPath in addition
to replace the one from compile_commands.json.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/ide_plugins/ide_code.py
scripts/lib/devtool/ide_sdk.py