1config BR2_PACKAGE_PISTACHE
2	bool "pistache"
3	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17, std::optional
4	depends on BR2_USE_WCHAR
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	depends on BR2_INSTALL_LIBSTDCPP
7	select BR2_PACKAGE_RAPIDJSON
8	help
9	  Pistache is a modern and elegant HTTP and REST framework
10	  for C++. It is entirely written in pure C++17 and provides
11	  a clear and pleasant API.
12
13	  https://github.com/oktal/pistache
14
15comment "pistache needs a toolchain w/ C++, gcc >= 7, threads, wchar"
16	depends on !BR2_INSTALL_LIBSTDCPP || \
17		   !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
18		   !BR2_TOOLCHAIN_HAS_THREADS || \
19		   !BR2_USE_WCHAR
20