30 lines
880 B
Plaintext
30 lines
880 B
Plaintext
config BR2_PACKAGE_LIBCPPCONNMAN
|
|
bool "libcppconnman"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
|
|
depends on BR2_USE_WCHAR # libglib2
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
|
depends on BR2_USE_MMU # libglib2
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
help
|
|
libcppconnman provide easy to use C++ API to communicate
|
|
with ConnMan via the DBus using GDBus.
|
|
|
|
https://amarula.github.io/libcppconnman/
|
|
|
|
comment "libcppconnman needs a toolchain w/ C++20, wchar, threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_10
|
|
|
|
if BR2_PACKAGE_LIBCPPCONNMAN
|
|
|
|
config BR2_PACKAGE_LIBCPPCONNMAN_EXAMPLE
|
|
bool "libcppconnman example"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_1 # std::atomic<bool>
|
|
select BR2_PACKAGE_READLINE
|
|
help
|
|
Compile CLI example.
|
|
|
|
endif
|