Skip to contentSkip to conversation

yocto recipt from host ide

yocto Sergey Ivanov 1 participant 1 message Nov 21, 2020

lore
Share & tools
lore
#0 lore raw

Hi there.
Could anyone share a good approach/documentation/etc on how to properly configure and use sysroot and sdk for a specific cmake - based c++ receipt
to be able to build it from IDE (vscode, qtcreator) on linux host i.e.

1) ide's --sysroot will be taken from yocto-root/build/tmp/work/aarch64-poky-linux/<my_recipe>1.0.0-r0/recipe-sysroot
2) compilers and cmake (i believe) will be taken from yocto-root/build/tmp/work/aarch64-poky-linux/<my_recipe>1.0.0-r0/recipe-sysroot-native
3) no mix of includes from host will be taken into account during the compilation

If none of ide above could do this stuff, then please recommend your one

For this moment i don't want run/debug the application right from ide, i just want to have all symbols be correctly resolved from there.

Signature · 2 lines
Kind regards,
Sergey Ivanov