config BR2_PACKAGE_LIBXMLPP
	bool "libxml++"
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # glibmm -> libsigc
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR # glibmm -> libglib2
	depends on BR2_TOOLCHAIN_HAS_THREADS # glibmm -> libglib2
	depends on BR2_USE_MMU # glibmm -> libglib2
	select BR2_PACKAGE_LIBXML2
	select BR2_PACKAGE_GLIBMM
	help
	  libxml++ is a C++ wrapper for the libxml XML parser library.

	  https://libxmlplusplus.github.io/libxmlplusplus/

comment "libxml++ needs a toolchain w/ C++, wchar, threads, gcc >= 7"
	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
		||!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_MMU
