Re: [yocto] Run generated executable in cmake recipe #cmake #kirkstone #make #native #yocto

2023-10-20 Thread Ross Burton
On 19 Oct 2023, at 16:58, Adrian Freihofer via lists.yoctoproject.org wrote: > Making the recipe compiling for cross and native and adding a DEPENDS from > cross to native seems to be the cleanest and most Yocto-ish way to me. Agreed, there’s plenty of prior art in oe-core that does this. >

Re: [yocto] Run generated executable in cmake recipe #cmake #kirkstone #make #native #yocto

2023-10-19 Thread Adrian Freihofer
Hi Darek Making the recipe compiling for cross and native and adding a DEPENDS from cross to native seems to be the cleanest and most Yocto-ish way to me. Alternatively this patch would allow to run cross compiled executables with Qemu in the cmake project

[yocto] Run generated executable in cmake recipe #cmake #kirkstone #make #native #yocto

2023-10-19 Thread Darek Konopka
Hello all, So I have a cmake project that uses an executable generated from a cmake subproject. My architecture is as such ├── ProjectA ├── projecta_1.0.bb ( http://projecta_1.0.bb/ ) ├── files ├── ProjectA ├── CMakeLists.txt ├──  ProjectB ├── CMakeLists.txt My recipe is a standard recipe that