| config BR2_PACKAGE_LIBHTTPSERVER | |
| bool "libhttpserver" | |
| depends on BR2_TOOLCHAIN_GCC_AT_LEAST_11 # C++20 | |
| depends on BR2_INSTALL_LIBSTDCPP | |
| depends on BR2_TOOLCHAIN_HAS_THREADS | |
| select BR2_PACKAGE_LIBMICROHTTPD | |
| help | |
| libhttpserver is a C++ library for building high performance | |
| RESTfuls web servers. libhttpserver is built upon | |
| libmicrohttpd to provide a simple API for developers to | |
| create HTTP services in C++. | |
| https://github.com/etr/libhttpserver | |
| comment "libhttpserver needs a toolchain w/ C++, threads, gcc >= 11" | |
| depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ | |
| !BR2_TOOLCHAIN_GCC_AT_LEAST_11 |