Yocto Project Discussions
 help / color / mirror / Atom feed
From: Nicolai Haastrup Knudsen <NHK@chora.com>
To: "yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>
Subject: How to have support for two different SDKs in your CMake project?
Date: Fri, 31 Jul 2026 07:30:43 +0000	[thread overview]
Message-ID: <8ed91132b51a437195398bafe1e4b8de@chora.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 715 bytes --]

Hi the community,

I'm trying to use 2 SDK generated by the same project. Where the SDK_A runs on platform A and SDK_B runs on platformB. It's the same application code that shall run on both platforms but different hardware( GPU and CPU).

Because the problem is when we are sourcing the SDK generated from the yocto project we can't build both only one and it will be nice development experience to dependt on CMake toolchain files independently.

I'm dreaming of being able to build the same application with CMake without chaning shell/running in a sub-shell.

Does there exist a known solution the problem or how do you guys work around this kind of problem?



BR/Mvh

Nicolai Haastrup Knudsen

[-- Attachment #2: Type: text/html, Size: 1729 bytes --]

                 reply	other threads:[~2026-07-31  7:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ed91132b51a437195398bafe1e4b8de@chora.com \
    --to=nhk@chora.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox