Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: openembedded-devel@lists.openembedded.org
Cc: Marek Vasut <marex@denx.de>, Christian Eggers <ceggers@arri.de>,
	Khem Raj <raj.khem@gmail.com>,
	Martin Siegumfeldt <mns@gomspace.com>
Subject: [meta-oe][PATCH 2/2] libiio: enable c++ bindings
Date: Wed, 12 Jul 2023 03:11:22 +0200	[thread overview]
Message-ID: <20230712011122.105264-2-marex@denx.de> (raw)
In-Reply-To: <20230712011122.105264-1-marex@denx.de>

The C++ bindings are new in libiio 0.25 , make those available.
Unlike python bindings which are gated off by PACKAGECONFIG, it
seems the C++ bindings have no dependencies, the C++ compiler is
always present, so the bindings can always be enabled.

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Christian Eggers <ceggers@arri.de>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Martin Siegumfeldt <mns@gomspace.com>
---
 meta-oe/recipes-support/libiio/libiio_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/libiio/libiio_git.bb b/meta-oe/recipes-support/libiio/libiio_git.bb
index b89ae29ea..ecbd2c864 100644
--- a/meta-oe/recipes-support/libiio/libiio_git.bb
+++ b/meta-oe/recipes-support/libiio/libiio_git.bb
@@ -22,6 +22,7 @@ inherit cmake python3native systemd setuptools3 pkgconfig
 
 EXTRA_OECMAKE = " \
     -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+    -DCPP_BINDINGS=ON \
     -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \
     -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \
     -DUDEV_RULES_INSTALL_DIR=${nonarch_base_libdir}/udev/rules.d \
-- 
2.40.1



  reply	other threads:[~2023-07-12  1:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-12  1:11 [meta-oe][PATCH 1/2] libiio: update to version 0.25 Marek Vasut
2023-07-12  1:11 ` Marek Vasut [this message]
2023-07-12  4:13 ` Khem Raj
2023-07-12  6:40   ` Martin Siegumfeldt
2023-07-12  7:25     ` Marek Vasut
     [not found]       ` <179dcdfa3b51fc0b7b7426f041fd23bb17ebfa17.camel@crapouillou.net>
2023-07-12  7:44         ` Marek Vasut
2023-07-12 16:14     ` Khem Raj

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=20230712011122.105264-2-marex@denx.de \
    --to=marex@denx.de \
    --cc=ceggers@arri.de \
    --cc=mns@gomspace.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /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