| config BR2_PACKAGE_LIBYANG_CPP | |
| bool "libyang-cpp" | |
| depends on BR2_INSTALL_LIBSTDCPP | |
| depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 | |
| depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libyang | |
| depends on BR2_TOOLCHAIN_HAS_THREADS # libyang | |
| depends on !BR2_STATIC_LIBS # libyang | |
| select BR2_PACKAGE_LIBYANG | |
| help | |
| C++ bindings for the libyang library (v4). | |
| libyang-cpp implements modern C++ RAII wrappers around the | |
| libyang C API, used by sysrepo, Kea + NETCONF, etc. | |
| https://github.com/CESNET/libyang-cpp | |
| comment "libyang-cpp needs a toolchain w/ threads, dynamic library, C++, gcc >= 10" | |
| depends on BR2_TOOLCHAIN_HAS_SYNC_4 | |
| depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ | |
| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_10 |