On Wed, 2022-08-24 at 14:18 +0200, Maik Vermeulen wrote:
> Hi,
> 
> We have a recipe with a CMake project which works fine on target, but
> ideally we would like to test functionality on our host systems
> first.
> How can we also have it generate executables for the host system?
> 
> Do we need to make changes to the recipe, CMakeLists.txt, or both?
> I read something about autotools, but it's completely new to me.
> 
> Any hints on what the easiest approach would be would be greatly
> appreciated!

BBCLASSEXTEND = "native"

would create a variant of the recipe X as X-native which would run on
the build host. That may or may not be what you're looking for :)

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57891): https://lists.yoctoproject.org/g/yocto/message/57891
Mute This Topic: https://lists.yoctoproject.org/mt/93225156/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to