package/sdbus-cpp: add support to build the host stub generator
Add a host option to build the xml2cpp-codegen part of the sdbus-cpp package for use in creating adaptor and proxy implementations from the D-Bus IDL. Signed-off-by: Charles Hardin <ckhardin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
683446ed9f
commit
6fa4131de5
@ -99,6 +99,7 @@ menu "Host utilities"
|
||||
source "package/rustc/Config.in.host"
|
||||
source "package/s6-rc/Config.in.host"
|
||||
source "package/sam-ba/Config.in.host"
|
||||
source "package/sdbus-cpp/Config.in.host"
|
||||
source "package/sdbusplus/Config.in.host"
|
||||
source "package/sentry-cli/Config.in.host"
|
||||
source "package/sloci-image/Config.in.host"
|
||||
|
11
package/sdbus-cpp/Config.in.host
Normal file
11
package/sdbus-cpp/Config.in.host
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_HOST_SDBUS_CPP
|
||||
bool "host sdbus-c++"
|
||||
depends on BR2_HOST_GCC_AT_LEAST_7
|
||||
help
|
||||
sdbus-c++ is a high-level C++ D-Bus library for Linux
|
||||
designed to provide expressive, easy-to-use API in modern C++.
|
||||
|
||||
This will build the stub code generator for the adaptor and
|
||||
proxy interfaces from D-Bus IDL.
|
||||
|
||||
https://github.com/Kistler-Group/sdbus-cpp
|
@ -12,4 +12,13 @@ SDBUS_CPP_DEPENDENCIES = host-pkgconf systemd
|
||||
SDBUS_CPP_LICENSE = LGPL-2.1+ with exception (headers)
|
||||
SDBUS_CPP_LICENSE_FILES = COPYING COPYING-LGPL-Exception
|
||||
|
||||
# Host build for sdbus-c++-xml2cpp
|
||||
HOST_SDBUS_CPP_DEPENDENCIES = host-pkgconf host-systemd
|
||||
HOST_SDBUS_CPP_CONF_OPTS = \
|
||||
-DBUILD_CODE_GEN=ON \
|
||||
-DBUILD_DOC=OFF \
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DBUILD_LIBSYSTEMD=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
$(eval $(host-cmake-package))
|
||||
|
Loading…
Reference in New Issue
Block a user